Having a look at my /var/log directory, it appears than the situation 
concerning log compression is quite awful:
- many log files use gzip compression, whereas bzip2 is generally far more 
efficient
- some log files doesn't even use compression at all (apache, proftpd)

While i understand that log analysis works better out-of-the box with 
uncompressed files, this is only an option, whereas space gain is always 
interesting.

I'd suggest making bzip2 compression the default, by adding the following 
lines in logrotate.conf:
compresscmd bzip2
uncompresscmd bunzip2

And avoiding turning compression of in logrotate.d/conf files, by removing 
nocompress directive in packages default configuration files:
[EMAIL PROTECTED] guillaume]$ grep nocompress /etc/logrotate.d/*
/etc/logrotate.d/apache-conf:    nocompress
/etc/logrotate.d/proftpd:    nocompress
/etc/logrotate.d/xdm:    nocompress
-- 
Guillaume Rousse
Every item in the store will be on sale, except the ones that you want
                -- Murphy's Food Laws n�12


Reply via email to