svn commit: r352460 - in head/usr.sbin: newsyslog syslogd
Steve Wills
swills at FreeBSD.org
Tue Sep 17 20:03:21 UTC 2019
Author: swills (ports committer)
Date: Tue Sep 17 20:03:20 2019
New Revision: 352460
URL: https://svnweb.freebsd.org/changeset/base/352460
Log:
log daemon.info to /var/log/daemon.log by default
log daemon facility now that daemon(8) has syslog support which defaults to
daemon facility, info priority
Reviewed by: bapt
Approved by: bapt
Differential Revision: https://reviews.freebsd.org/D21561
Modified:
head/usr.sbin/newsyslog/newsyslog.conf
head/usr.sbin/syslogd/syslog.conf
Modified: head/usr.sbin/newsyslog/newsyslog.conf
==============================================================================
--- head/usr.sbin/newsyslog/newsyslog.conf Tue Sep 17 18:51:10 2019 (r352459)
+++ head/usr.sbin/newsyslog/newsyslog.conf Tue Sep 17 20:03:20 2019 (r352460)
@@ -30,6 +30,7 @@
/var/log/security 600 10 1000 * JC
/var/log/utx.log 644 3 * @01T05 B
/var/log/weekly.log 640 5 * $W6D0 JN
+/var/log/daemon 644 5 1000 @0101T JC
<include> /etc/newsyslog.conf.d/[!.]*.conf
<include> /usr/local/etc/newsyslog.conf.d/[!.]*.conf
Modified: head/usr.sbin/syslogd/syslog.conf
==============================================================================
--- head/usr.sbin/syslogd/syslog.conf Tue Sep 17 18:51:10 2019 (r352459)
+++ head/usr.sbin/syslogd/syslog.conf Tue Sep 17 20:03:20 2019 (r352460)
@@ -14,6 +14,7 @@ cron.* /var/log/cron
!-devd
*.=debug /var/log/debug.log
*.emerg *
+daemon.info /var/log/daemon.log
# uncomment this to log all writes to /dev/console to /var/log/console.log
# touch /var/log/console.log and chmod it to mode 600 before it will work
#console.info /var/log/console.log
More information about the svn-src-all
mailing list