Number of days between processing log option

Mal

Member
Sep 4, 2004
9
0
151
In the Tweak Settings option there is:

"Number of days between processing log files and bandwidth usage (default 1, decimal values are ok):"

Previously I had this set to 0.5 because my website is very popular. Recently I have been getting warnings about running low on space in the place where the logs go, so I decided to set this value to 0.25 but after I save it and go back to the page it displays 1.

Is this a display bug or is it actually preventing me from saving a decimal lower than one? If the latter, can I edit the appropriate configuration file manually to the correct value? If so, where is it?

Essentially I have several hours left before the space runs out on my server, if I can't get an answer within a couple of hours here then I'll try the datacentre. Cheers.
 
Last edited:

websupport

Well-Known Member
Jun 24, 2006
92
0
156
Log Rotation information

* Log rotation is handled by /usr/sbin/logrotate which is part of the logrotate package.

* logrotate is executed daily by cron to check if any logs need rotating.

* Basic setup and log rotation of the default system logs are configured in /etc/logrotate.conf.

* Additional, package related, log rotation scripts are placed in /etc/logrotate.d.

:)
 

Mal

Member
Sep 4, 2004
9
0
151
Doesn't really help but thanks for the reply - I had a quick look through those files. I've asked my data centre to sort it, I assume they'll go back to an old version of WHM, alter the files manually or maybe something else.

cPanel should really change the label for this option to state that decimals are no longer allowed otherwise I can see it causing problems.