Log Rotate

~~This is similar to the section under AWStats's [Best Practices/Software/AWStats/Clients/Apache] and that should be merged here.~~

The apache log files should be rotated. They are by default on most modern linuxes. The details of what is being rotated in relation to apache is in the file (in SuSE at least):

{quote}/etc/logrotate.d/apache2{quote}

The default entry does not handle error logs being generated with virtual hosting. To accommodate virtual hosts, use this entry

{quote}/var/log/apache2/*error_log{quote}



Comments