Re: [PATCH] newsyslog - don't compress first log file

看板FB_hackers作者時間18年前 (2007/08/13 14:38), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/13 (看更多)
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --------------030103040208010004050309 Content-Type: TEXT/PLAIN; CHARSET=UTF-8; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: <20070810134612.U54795@ramstind.fig.ol.no> -----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鷲 | trond@fagskolen.gjovik.no 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----- --------------030103040208010004050309 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" --------------030103040208010004050309--
文章代碼(AID): #16l_o300 (FB_hackers)
討論串 (同標題文章)
文章代碼(AID): #16l_o300 (FB_hackers)