Logroate of Apache Logs Quirk
avatar

One quirk I just ran across that I thought I would share.  When you rotate your Apache logs using logrotate and you want them compress, you need to use delaycompress as well.  Apparently if you don’t some of the handlers will still be open and it will not be able to compress the file until after they are released which is not until you gracefully restart the server at the end of the logrotate job.

This entry was posted in Linux. Bookmark the permalink.

Leave a Reply