Web Hosting Talk







View Full Version : Log Rotating


Shepski
12-20-2001, 06:06 AM
Hi

It appears that the log rotation on our raq has stopped, or at least for one domain it has. I have set the log size to 20mb but it is 150mb and climbing. Is there a way to force the log for this domain to update manually and how do I restart the log rotation for cron.daily.

help appreicated

Chicken
12-21-2001, 09:25 AM
It might be that the site's logs are getting too large and the RaQs rotate logs based on two variables:

One, time of day. Two, file size of the log file.

If the file size gets too large, then the log is rotated out, often before log stat scripts analyze the log (scripts often are set to only check once a day, which is problematic, since the log file may be rotating out based on size at this point).

This has been discussed many times and I'd suggest seaching for:

log file rotate webalizer (or any combination).

Edit:
Also thought that maybe a simple fix might solve the problem...
http://www.webhostingtalk.com/showthread.php?s=&threadid=26946&perpage=15&pagenumber=2

Shepski
12-21-2001, 09:35 AM
thanks for your help, think I may have found the answer using split_logs. server is now crunching away :)