- 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
This commit is contained in:
Bryan Drewery 2014-05-20 03:00:20 +00:00
parent 6902364468
commit b39df8fe2d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=266463
3 changed files with 13 additions and 2 deletions

View File

@ -42,6 +42,8 @@
..
mtree
..
newsyslog.conf.d
..
ntp mode=0700
..
pam.d

View File

@ -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/*

View File

@ -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 given,
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