diff options
author | bapt <bapt@FreeBSD.org> | 2016-11-16 07:04:49 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-11-16 07:04:49 +0000 |
commit | 6cdfcd5230da6d451be1e4fdb48eff13b7057301 (patch) | |
tree | 3f208b1399042db08e884f1a25390f0d529196a8 /etc/syslog.conf | |
parent | 1f6a31cefa15fc288e68fd28341349da9769513b (diff) | |
download | FreeBSD-src-6cdfcd5230da6d451be1e4fdb48eff13b7057301.zip FreeBSD-src-6cdfcd5230da6d451be1e4fdb48eff13b7057301.tar.gz |
MFC r308160:
syslogd(8): add an 'include' keyword
All the '.conf' files not beginning with a '.' contained int he directory
following the keyword will be included.
This keyword can only be used in the first level configuration files.
Modify the default syslogd.conf to 'include' /etc/syslog.d and
/usr/local/etc/syslog.d
It simplify a lot handling of syslog from automation tools.
Reviewed by: markj, kib (via irc)
Approved by: markj
MFC after: 2 weeks
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D8402
Diffstat (limited to 'etc/syslog.conf')
-rw-r--r-- | etc/syslog.conf | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/syslog.conf b/etc/syslog.conf index e65db53..a137bdc 100644 --- a/etc/syslog.conf +++ b/etc/syslog.conf @@ -34,3 +34,5 @@ cron.* /var/log/cron !ppp *.* /var/log/ppp.log !* +include /etc/syslog.d +include /usr/local/etc/syslog.d |