i got a drive space warning through email a few weeks back (85 % full).Then my /usr/local/apache/logs/ was 2.5 GB in size.log rotation was enabled and the problem went away.
now is see that that folder is slowly getting bigger.i think log rotation compresses the log files.now that that option is exhausted,i need to find another way to fix it before the warning emails come back.
Quote:
Originally Posted by snakes1100
webmin --> system --> Log File Rotation --> edit hte apache log cron and change the preferences.
1. rotation schedule = daily.
2. number of old logs to keep.
3. make sure its compressing them.
|
anthony,i have whm,can you please tell me where to find that option ?
whm >service configuration >Apache configuration > access_log,error_log,suexec_log and suexec_log.offset is in rotation currently.