Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jun 2014 15:39:55 +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-8@freebsd.org
Subject:   svn commit: r267115 - in stable/8: etc etc/mtree usr.sbin/newsyslog
Message-ID:  <201406051539.s55Fdt2n029234@svn.freebsd.org>

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

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

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

Modified: stable/8/etc/mtree/BSD.root.dist
==============================================================================
--- stable/8/etc/mtree/BSD.root.dist	Thu Jun  5 15:33:09 2014	(r267114)
+++ stable/8/etc/mtree/BSD.root.dist	Thu Jun  5 15:39:54 2014	(r267115)
@@ -38,6 +38,8 @@
         ..
         mtree
         ..
+        newsyslog.conf.d
+        ..
         ntp             mode=0700
         ..
         pam.d

Modified: stable/8/etc/newsyslog.conf
==============================================================================
--- stable/8/etc/newsyslog.conf	Thu Jun  5 15:33:09 2014	(r267114)
+++ stable/8/etc/newsyslog.conf	Thu Jun  5 15:39:54 2014	(r267115)
@@ -36,3 +36,6 @@
 /var/log/weekly.log			640  5	   1	$W6D0 JN
 /var/log/wtmp				644  3	   *	@01T05 B
 /var/log/xferlog			600  7	   100	*     JC
+
+<include> /etc/newsyslog.conf.d/*
+<include> /usr/local/etc/newsyslog.conf.d/*

Modified: stable/8/usr.sbin/newsyslog/newsyslog.8
==============================================================================
--- stable/8/usr.sbin/newsyslog/newsyslog.8	Thu Jun  5 15:33:09 2014	(r267114)
+++ stable/8/usr.sbin/newsyslog/newsyslog.8	Thu Jun  5 15:39:54 2014	(r267115)
@@ -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
@@ -262,10 +262,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?201406051539.s55Fdt2n029234>