Account Access Log Rotation Setting?
Access logs for an account are stored in:
/home/{account name}/access-logs which is actually a symlink to:
/etc/apache2/logs/domlogs/{account name}
Currently there are two files, non-ssl and ssl access log, and it shows the current day's access log. What if I want this access log to show more than one day's worth of data, where do I change that setting?
... Well I found the tweak setting that is by default on for "Delete each domain"s access logs after statistics are gathered" and turned that off.
But what if I want to control the access log rotation of just one particular account?
I'd like to avoid story unnecessary log data so I'd like to go back to the original setting so all accounts the access-log for the account is reset each day but on one particular account it is reset once a week.
-
Hello, The following options are available under the "Raw Access" feature in cPanel: Archive logs in your home directory at the end of each stats run every 24 hours. Remove the previous month"s archived logs from your home directory at the end of each month. I believe this will offer the functionality you are seeking. Thank you. 0
Please sign in to leave a comment.
Comments
1 comment