My apache logs are rotating daily, how can I change this?

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
You probably want to uncheck this Tweak Setting:

Delete each domain's access logs after stats run
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
Thanks!

How often will they rotate once I uncheck 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)
 

BianchiDude

Well-Known Member
PartnerNOC
Jul 2, 2005
617
0
166
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)
If I check that.

Is there a way to have these handled by logrotate? Do you know what the entry would be?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
cPanel Access Level
Root Administrator
If I check that.

Is there a way to have these handled by logrotate? Do you know what the entry would be?
While I'm sure logrotate can handle this, I don't know off-hand what the configuration directives would be.