I’ve set logrotate up on the Apache web logs but I’m running into a problem. I wanted to compress the rotated logs with the highest possible compression using xz so I added:
It “almost” works, it does the compression with xz but it is ignoring the compressext command and instead giving it a ‘.gz’ extension which is wrong since it wasn’t compressed with gzip.
Any suggestions how to correct this? Leave comments or e-mail email@example.com please.