-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 10 Aug 2007 14:19+0300, Artis Caune wrote:

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

Why do you need to complicate matters? Just remove the Z flag from the applicable lines in /etc/newsyslog.conf, and you'll accomplish not compressing the log files entirely without patching newsyslog.

I may sound a bit harsh, but man newsyslog.conf clearly states the purpose of each flag, and the use of any of the flags is not mandatory. If you want no special treatment of a particular log file then change the flags for that log file in to -.

This is useful for apache.

Yes, I agree to a certaint point. Use the B flag for such log files, and if you don't want the log file to be compressed, simply omit the Z flag. How hard can it be?


Trond.

- -- - ----------------------------------------------------------------------
Trond Endrest�l                          |   [EMAIL PROTECTED]
Patron of The Art of Computer Programming|   FreeBSD 6.2-S & Pine 4.64

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (FreeBSD)

iD8DBQFGvFFEbYWZalUoElsRApR+AJ422mWtAswBAmr+OE9+4a7ssg+mcACfSIL4
YhRR7OL3SlO1o594m+/vRJc=
=psKr
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to