[users@httpd] Piped logs gotcha: multiple config stanzas pointing to the same cmd string

2013-10-11 Thread Martin Langhoff
Hi Apache users, devs, I have recently switched an infra from straight logging to files to piped logs (using compresslog to compress the logs before they are written out -- http://repo.or.cz/w/compresslog.git/ ). Turns out there is a gotcha. When logging to files, it is harmless to have

[users@httpd] compresslog: pipe log through gzip without the headaches

2013-09-14 Thread Martin Langhoff
[ Using piped logs with gzip is rather painful. Here is what I came up with to improve the user experience. Getting the scripts right so that no data was lost in normal operation is non-trivial, so I thought I'd share. ] =compresslog README= Save a ton of disk IO (or SAN traffic) in your