]> xenbits.xensource.com Git - freebsd.git/commitdiff
log daemon.info to /var/log/daemon.log by default
authorswills <swills@FreeBSD.org>
Tue, 17 Sep 2019 20:03:20 +0000 (20:03 +0000)
committerswills <swills@FreeBSD.org>
Tue, 17 Sep 2019 20:03:20 +0000 (20:03 +0000)
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

usr.sbin/newsyslog/newsyslog.conf
usr.sbin/syslogd/syslog.conf

index 43528a9a2b166c2164e6afd5ee592729a6ee66f9..8390b1eb0877a636584b577ab8034fe903281f36 100644 (file)
@@ -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
index e0df421b902167ff447c3153b9caa8f401a7fb48..a556f309d943c524657bf0e148d61a4afbd98450 100644 (file)
@@ -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