diff options
author | Enji Cooper <ngie@FreeBSD.org> | 2017-05-13 03:10:50 +0000 |
---|---|---|
committer | Enji Cooper <ngie@FreeBSD.org> | 2017-05-13 03:10:50 +0000 |
commit | e5c4c8aa7fda6305f93e2bf378a89186722310a8 (patch) | |
tree | 1f34038235e42ec505b03ae12430152b7dcb6461 /etc/newsyslog.conf | |
parent | d74da94ce422253b6a7f97223f563e3ec91d55e6 (diff) | |
download | src-e5c4c8aa7fda6305f93e2bf378a89186722310a8.tar.gz src-e5c4c8aa7fda6305f93e2bf378a89186722310a8.zip |
Handle the logfiles in newsyslog and syslogd conditionally, based on
src.conf(5) knobs
This will allow consumers of FreeBSD to use the unmodified configuration
files out of the box more than previously.
Both newsyslog.conf and syslog.conf:
- /var/log/lpd-errs (MK_LPR != no)
- /var/log/ppp.log (MK_PPP != no)
- /var/log/xferlog (MK_FTP != no)
newsyslog.conf:
- /var/log/amd.log (MK_AMD != no)
- /var/log/pflog (MK_PF != no)
- /var/log/sendmail.st (MK_SENDMAIL != no)
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
Notes
Notes:
svn path=/head/; revision=318250
Diffstat (limited to 'etc/newsyslog.conf')
-rw-r--r-- | etc/newsyslog.conf | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf index 7a969691a8bf..9982f91dfc11 100644 --- a/etc/newsyslog.conf +++ b/etc/newsyslog.conf @@ -18,7 +18,6 @@ # # logfilename [owner:group] mode count size when flags [/pid_file] [sig_num] /var/log/all.log 600 7 * @T00 J -/var/log/amd.log 644 7 1000 * J /var/log/auth.log 600 7 1000 @0101T JC /var/log/console.log 600 5 1000 * J /var/log/cron 600 3 1000 * JC @@ -26,18 +25,13 @@ /var/log/debug.log 600 7 1000 * JC /var/log/init.log 644 3 1000 * J /var/log/kerberos.log 600 7 1000 * J -/var/log/lpd-errs 644 7 1000 * JC /var/log/maillog 640 7 * @T00 JC /var/log/messages 644 5 1000 @0101T JC /var/log/monthly.log 640 12 * $M1D0 JN -/var/log/pflog 600 3 1000 * JB /var/run/pflogd.pid -/var/log/ppp.log root:network 640 3 1000 * JC /var/log/devd.log 644 3 1000 * JC /var/log/security 600 10 1000 * JC -/var/log/sendmail.st 640 10 * 168 BN /var/log/utx.log 644 3 * @01T05 B /var/log/weekly.log 640 5 * $W6D0 JN -/var/log/xferlog 600 7 1000 * JC <include> /etc/newsyslog.conf.d/* <include> /usr/local/etc/newsyslog.conf.d/* |