From owner-svn-src-all@freebsd.org Tue Jan 16 00:47:54 2018 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A66C5EB2340; Tue, 16 Jan 2018 00:47:54 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 82D7078A61; Tue, 16 Jan 2018 00:47:54 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CB5A218BD9; Tue, 16 Jan 2018 00:47:53 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0G0lroW057353; Tue, 16 Jan 2018 00:47:53 GMT (envelope-from jhb@FreeBSD.org) Received: (from jhb@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0G0lrKA057352; Tue, 16 Jan 2018 00:47:53 GMT (envelope-from jhb@FreeBSD.org) Message-Id: <201801160047.w0G0lrKA057352@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jhb set sender to jhb@FreeBSD.org using -f From: John Baldwin Date: Tue, 16 Jan 2018 00:47:53 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r328035 - head/usr.sbin/newsyslog X-SVN-Group: head X-SVN-Commit-Author: jhb X-SVN-Commit-Paths: head/usr.sbin/newsyslog X-SVN-Commit-Revision: 328035 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jan 2018 00:47:54 -0000 Author: jhb Date: Tue Jan 16 00:47:53 2018 New Revision: 328035 URL: https://svnweb.freebsd.org/changeset/base/328035 Log: Sort the list of flags in newsyslog.conf entries. Move the 'X' and 'Y' entries into their sorted location in the list of flags just above 'Z'. Reviewed by: bcr MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D13904 Modified: head/usr.sbin/newsyslog/newsyslog.conf.5 Modified: head/usr.sbin/newsyslog/newsyslog.conf.5 ============================================================================== --- head/usr.sbin/newsyslog/newsyslog.conf.5 Mon Jan 15 23:17:12 2018 (r328034) +++ head/usr.sbin/newsyslog/newsyslog.conf.5 Tue Jan 16 00:47:53 2018 (r328035) @@ -21,7 +21,7 @@ .\" the suitability of this software for any purpose. It is .\" provided "as is" without express or implied warranty. .\" -.Dd Dec 31, 2017 +.Dd January 15, 2018 .Dt NEWSYSLOG.CONF 5 .Os .Sh NAME @@ -297,18 +297,6 @@ indicates that should attempt to save disk space by compressing the rotated log file using .Xr bzip2 1 . -.It Cm X -indicates that -.Xr newsyslog 8 -should attempt to save disk space by compressing the rotated -log file using -.Xr xz 1 . -.It Cm Y -indicates that -.Xr newsyslog 8 -should attempt to save disk space by compressing the rotated -log file using -.Xr zstd 1 . .It Cm N indicates that there is no process which needs to be signaled when this log file is rotated. @@ -332,6 +320,18 @@ indicates that the file specified by will contain the ID for a process group instead of a process. This option also requires that the first line in that file be a negative value to distinguish it from a process ID. +.It Cm X +indicates that +.Xr newsyslog 8 +should attempt to save disk space by compressing the rotated +log file using +.Xr xz 1 . +.It Cm Y +indicates that +.Xr newsyslog 8 +should attempt to save disk space by compressing the rotated +log file using +.Xr zstd 1 . .It Cm Z indicates that .Xr newsyslog 8