summaryrefslogtreecommitdiffstats
path: root/usr.sbin/newsyslog
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-05-20 03:00:20 +0000
committerbdrewery <bdrewery@FreeBSD.org>2014-05-20 03:00:20 +0000
commit03ffe04fa732bddad6c2942ead7b0d818098c8e3 (patch)
treee6679b0132ec1a0603a985107706e8a3b2bc6c91 /usr.sbin/newsyslog
parentdb7a034f3642e9e3ec59b94d1987036f6d1fb1f4 (diff)
downloadFreeBSD-src-03ffe04fa732bddad6c2942ead7b0d818098c8e3.zip
FreeBSD-src-03ffe04fa732bddad6c2942ead7b0d818098c8e3.tar.gz
- 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
Diffstat (limited to 'usr.sbin/newsyslog')
-rw-r--r--usr.sbin/newsyslog/newsyslog.810
1 files changed, 8 insertions, 2 deletions
diff --git a/usr.sbin/newsyslog/newsyslog.8 b/usr.sbin/newsyslog/newsyslog.8
index 87f60ac..e6d79a4 100644
--- a/usr.sbin/newsyslog/newsyslog.8
+++ b/usr.sbin/newsyslog/newsyslog.8
@@ -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
OpenPOWER on IntegriCloud