allow 'cat' as log compression method

Florian Schlichting fschlich at CIS.FU-Berlin.DE
Tue May 25 10:50:04 UTC 2010


I wonder if there's anybody else who'd prefer to *not* compress his logs
in any way (and rather not keep it for too long to save space)?

This is --with-log-compress=cat (I didn't bother to go hunting for cat
as it's part of coreutils - should we do that?):

--- a/m4/compress.m4
+++ b/m4/compress.m4
@@ -23,6 +23,7 @@ case "$LOG_COMPRESS" in
 bzip2)    LOG_COMPRESSEXT=".bz2" ;;
 gzip)     LOG_COMPRESSEXT=".gz"  ;;
 compress) LOG_COMPRESSEXT=".Z"   ;;
+cat)      LOG_COMPRESSEXT=""     ;;
 *)        AC_MSG_ERROR([unknown log compression type $LOG_COMPRESS]) ;;
 esac
 AC_SUBST([LOG_COMPRESS])


Florian



More information about the inn-workers mailing list