Skip to content

Commit

Permalink
log daemon.info to /var/log/daemon.log by default
Browse files Browse the repository at this point in the history
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
  • Loading branch information
swills committed Sep 17, 2019
1 parent 093aa3e commit cd4b2a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions usr.sbin/newsyslog/newsyslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions usr.sbin/syslogd/syslog.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cd4b2a3

Please sign in to comment.