> How about aditional flag ("X") to newsyslog, which don't compress first 
> log file?

How about using the flag "0" similar to that in newsyslog written by
Theodore Ts'o of MIT Project Athena:

         0       The 0 flag means that the most recent archive of the log
                 file (i.e. the one that ends in ``.0'') should not be
                 compressed even when the Z flag is given.  (This flag may
                 also be specified as P for compatability with NetBSD.)
                 This flag is necessary when managing log files written
                 directly to by long-running processes (eg.  smail, httpd,
                 etc.).  This flag also makes it more convenient to browse
                 through the most recently archived log file without hav-
                 ing to first uncompress it or use tools like zmore, or
                 zgrep, etc.

Best regards,

Dirk
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to