Are you referring to the global Apache access log for the server, or the Apache access log for individual cPanel users?My apache logs are rotating daily, how can I change this?
TIA
the Apache access log for individual cPanel usersAre you referring to the global Apache access log for the server, or the Apache access log for individual cPanel users?
In the cPanel interface, click on Raw Access Log and uncheck the following setting:the Apache access log for individual cPanel users
the ones in domlogs/
Archive Logs in your home directory at the end of each stats run [ [every 24 hour(s)]]
The setting I mentioned above is a global setting that affects all domains.Is there any way to disable this globally for all domains?
TIA
I don't follow, is this in cpanel or WHM?The setting I mentioned above is a global setting that affects all domains.
Thanks!You probably want to uncheck this Tweak Setting:
Delete each domain's access logs after stats run
They should still rotate monthly, unless you have this tweak setting checked:Thanks!
How often will they rotate once I uncheck that?
If I check that.They should still rotate monthly, unless you have this tweak setting checked:
Keep log files at the end of the month (default is off as you can run out of disk space quickly)
While I'm sure logrotate can handle this, I don't know off-hand what the configuration directives would be.If I check that.
Is there a way to have these handled by logrotate? Do you know what the entry would be?