From owner-svn-src-all@FreeBSD.ORG Tue May 20 03:00:21 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6F13BAFC; Tue, 20 May 2014 03:00:21 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 41AE9225A; Tue, 20 May 2014 03:00:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4K30LQI056132; Tue, 20 May 2014 03:00:21 GMT (envelope-from bdrewery@svn.freebsd.org) Received: (from bdrewery@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4K30KxV056127; Tue, 20 May 2014 03:00:20 GMT (envelope-from bdrewery@svn.freebsd.org) Message-Id: <201405200300.s4K30KxV056127@svn.freebsd.org> From: Bryan Drewery Date: Tue, 20 May 2014 03:00:20 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r266463 - in head: etc etc/mtree usr.sbin/newsyslog X-SVN-Group: head 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.18 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, 20 May 2014 03:00:21 -0000 Author: bdrewery Date: Tue May 20 03:00:20 2014 New Revision: 266463 URL: http://svnweb.freebsd.org/changeset/base/266463 Log: - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by default for newsyslog(8). The /usr/local/etc/newsyslog.conf.d will give packages an opportunity to install a default configuration to handle their own log files. MFC after: 2 weeks Relnotes: yes Modified: head/etc/mtree/BSD.root.dist head/etc/newsyslog.conf head/usr.sbin/newsyslog/newsyslog.8 Modified: head/etc/mtree/BSD.root.dist ============================================================================== --- head/etc/mtree/BSD.root.dist Tue May 20 02:59:13 2014 (r266462) +++ head/etc/mtree/BSD.root.dist Tue May 20 03:00:20 2014 (r266463) @@ -42,6 +42,8 @@ .. mtree .. + newsyslog.conf.d + .. ntp mode=0700 .. pam.d Modified: head/etc/newsyslog.conf ============================================================================== --- head/etc/newsyslog.conf Tue May 20 02:59:13 2014 (r266462) +++ head/etc/newsyslog.conf Tue May 20 03:00:20 2014 (r266463) @@ -38,3 +38,6 @@ /var/log/utx.log 644 3 * @01T05 B /var/log/weekly.log 640 5 * $W6D0 JN /var/log/xferlog 600 7 100 * JC + + /etc/newsyslog.conf.d/* + /usr/local/etc/newsyslog.conf.d/* Modified: head/usr.sbin/newsyslog/newsyslog.8 ============================================================================== --- head/usr.sbin/newsyslog/newsyslog.8 Tue May 20 02:59:13 2014 (r266462) +++ head/usr.sbin/newsyslog/newsyslog.8 Tue May 20 03:00:20 2014 (r266463) @@ -17,7 +17,7 @@ .\" the suitability of this software for any purpose. It is .\" provided "as is" without express or implied warranty. .\" -.Dd January 31, 2011 +.Dd May 19, 2014 .Dt NEWSYSLOG 8 .Os .Sh NAME @@ -261,10 +261,16 @@ If additional command line arguments are will only examine log files that match those arguments; otherwise, it will examine all files listed in the configuration file. .Sh FILES -.Bl -tag -width /etc/newsyslog.confxxxx -compact +.Bl -tag -width /usr/local/etc/newsyslog.conf.d -compact .It Pa /etc/newsyslog.conf .Nm configuration file +.It Pa /etc/newsyslog.conf.d +Each file in this directory will be included by the default +.Pa newsyslog.conf . +.It Pa /usr/local/etc/newsyslog.conf.d +Each file in this directory will be included by the default +.Pa newsyslog.conf . .El .Sh COMPATIBILITY Previous versions of the