Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2014 15:21:25 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r267113 - in stable/10: etc etc/mtree usr.sbin/newsyslog
Message-ID:  <201406051521.s55FLPk4021718@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Jun  5 15:21:25 2014
New Revision: 267113
URL: http://svnweb.freebsd.org/changeset/base/267113

Log:
  MFC r266463:
  
    - Include /etc/newsyslog.conf.d/* and /usr/local/etc/newsyslog.conf.d/* by
      default for newsyslog(8).

Modified:
  stable/10/etc/mtree/BSD.root.dist
  stable/10/etc/newsyslog.conf
  stable/10/usr.sbin/newsyslog/newsyslog.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/etc/mtree/BSD.root.dist
==============================================================================
--- stable/10/etc/mtree/BSD.root.dist	Thu Jun  5 15:18:49 2014	(r267112)
+++ stable/10/etc/mtree/BSD.root.dist	Thu Jun  5 15:21:25 2014	(r267113)
@@ -38,6 +38,8 @@
         ..
         mtree
         ..
+        newsyslog.conf.d
+        ..
         ntp             mode=0700
         ..
         pam.d

Modified: stable/10/etc/newsyslog.conf
==============================================================================
--- stable/10/etc/newsyslog.conf	Thu Jun  5 15:18:49 2014	(r267112)
+++ stable/10/etc/newsyslog.conf	Thu Jun  5 15:21:25 2014	(r267113)
@@ -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
+
+<include> /etc/newsyslog.conf.d/*
+<include> /usr/local/etc/newsyslog.conf.d/*

Modified: stable/10/usr.sbin/newsyslog/newsyslog.8
==============================================================================
--- stable/10/usr.sbin/newsyslog/newsyslog.8	Thu Jun  5 15:18:49 2014	(r267112)
+++ stable/10/usr.sbin/newsyslog/newsyslog.8	Thu Jun  5 15:21:25 2014	(r267113)
@@ -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



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