Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2025 03:44:15 GMT
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 991ed10e3960 - main - Revert "newsyslog(8): Disable compression by default in newsyslog.conf."
Message-ID:  <202505080344.5483iFum086095@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by delphij:

URL: https://cgit.FreeBSD.org/src/commit/?id=991ed10e396080c58099631dc6f7d357f16ad53e

commit 991ed10e396080c58099631dc6f7d357f16ad53e
Author:     Xin LI <delphij@FreeBSD.org>
AuthorDate: 2025-05-08 03:43:01 +0000
Commit:     Xin LI <delphij@FreeBSD.org>
CommitDate: 2025-05-08 03:43:01 +0000

    Revert "newsyslog(8): Disable compression by default in newsyslog.conf."
    
    This reverts commit 83507f9e6fedbc02d1acecc9fb5c09eae34b1ae6.
    
    Requested by:   olce
---
 UPDATING                          | 15 ---------------
 usr.sbin/newsyslog/newsyslog.conf |  2 --
 2 files changed, 17 deletions(-)

diff --git a/UPDATING b/UPDATING
index 71af29553221..d46db9e13794 100644
--- a/UPDATING
+++ b/UPDATING
@@ -38,21 +38,6 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 15.x IS SLOW:
 	Commit 9419e086e1a3 changed the internal API between the nfscommon
 	and nfscl modules.  Both need to be built from updated sources.
 
-20250504:
-	newsyslog(8) will no longer compress rotated log files by default.
-	The J, X, Y, and Z flags in newsyslog.conf(5) now indicate that a
-	file may be compressed, rather than specifying a particular
-	compression method.
-
-	To restore the previous default behavior of automatic compression,
-	remove the line:
-
-		<compress> none
-
-	from /etc/newsyslog.conf.
-
-	For more details, refer to the newsyslog(8) manual page.
-
 20250412:
 	LinuxKPI alloc routines were changed to return physically contiguous
 	memory where expected. These changes may require out-of-tree drivers
diff --git a/usr.sbin/newsyslog/newsyslog.conf b/usr.sbin/newsyslog/newsyslog.conf
index 691aa4503ec2..d907e08fd747 100644
--- a/usr.sbin/newsyslog/newsyslog.conf
+++ b/usr.sbin/newsyslog/newsyslog.conf
@@ -1,7 +1,5 @@
 # configuration file for newsyslog
 #
-# Global compress method for files tagged as compressible.
-<compress> none
 # Entries which do not specify the '/pid_file' field will cause the
 # syslogd process to be signalled when that log file is rotated.  This
 # action is only appropriate for log files which are written to by the



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202505080344.5483iFum086095>