conf/178504: [patch] switch logs compression from bzip2 to xz

Alex Kozlov spam at rm-rf.kiev.ua
Sat May 11 09:00:00 UTC 2013


>Number:         178504
>Category:       conf
>Synopsis:       [patch] switch logs compression from bzip2 to xz
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 11 09:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Alex Kozlov
>Release:        RELENG_10
>Organization:
private
>Environment:
>Description:
Make newsyslog compress logs with xz instead of bzip2 to save space.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: etc/newsyslog.conf
@@ -17,23 +17,23 @@
 # future, these defaults may change to more conservative ones.
 #
 # logfilename          [owner:group]    mode count size when  flags [/pid_file] [sig_num]
-/var/log/all.log			600  7	   *	@T00  J
-/var/log/amd.log			644  7	   100	*     J
-/var/log/auth.log			600  7     100  @0101T JC
-/var/log/console.log			600  5	   100	*     J
-/var/log/cron				600  3	   100	*     JC
-/var/log/daily.log			640  7	   *	@T00  JN
-/var/log/debug.log			600  7     100  *     JC
-/var/log/init.log			644  3	   100	*     J
-/var/log/kerberos.log			600  7	   100	*     J
-/var/log/lpd-errs			644  7	   100	*     JC
-/var/log/maillog			640  7	   *	@T00  JC
-/var/log/messages			644  5	   100	@0101T JC
-/var/log/monthly.log			640  12	   *	$M1D0 JN
-/var/log/pflog				600  3	   100	*     JB    /var/run/pflogd.pid
-/var/log/ppp.log	root:network	640  3	   100	*     JC
-/var/log/security			600  10	   100	*     JC
+/var/log/all.log			600  7	   *	@T00  X
+/var/log/amd.log			644  7	   100	*     X
+/var/log/auth.log			600  7     100  @0101T XC
+/var/log/console.log			600  5	   100	*     X
+/var/log/cron				600  3	   100	*     XC
+/var/log/daily.log			640  7	   *	@T00  XN
+/var/log/debug.log			600  7     100  *     XC
+/var/log/init.log			644  3	   100	*     X
+/var/log/kerberos.log			600  7	   100	*     X
+/var/log/lpd-errs			644  7	   100	*     XC
+/var/log/maillog			640  7	   *	@T00  XC
+/var/log/messages			644  5	   100	@0101T XC
+/var/log/monthly.log			640  12	   *	$M1D0 XN
+/var/log/pflog				600  3	   100	*     XB    /var/run/pflogd.pid
+/var/log/ppp.log	root:network	640  3	   100	*     XC
+/var/log/security			600  10	   100	*     XC
 /var/log/sendmail.st			640  10	   *	168   BN
 /var/log/utx.log			644  3	   *	@01T05 B
-/var/log/weekly.log			640  5	   *	$W6D0 JN
-/var/log/xferlog			600  7	   100	*     JC
+/var/log/weekly.log			640  5	   *	$W6D0 XN
+/var/log/xferlog			600  7	   100	*     XC


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list