summaryrefslogtreecommitdiffstats
path: root/etc/newsyslog.conf
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2013-07-01 21:20:17 +0000
committerasomers <asomers@FreeBSD.org>2013-07-01 21:20:17 +0000
commit16596db60f50f7a2f26b1e45158d41df037b88c3 (patch)
treedb9956931565a38f4483632ae194fa9479dd907e /etc/newsyslog.conf
parentc646da3daf521a7bfe3e2d3ea2851f17b5923b11 (diff)
downloadFreeBSD-src-16596db60f50f7a2f26b1e45158d41df037b88c3.zip
FreeBSD-src-16596db60f50f7a2f26b1e45158d41df037b88c3.tar.gz
Add syslog(3) support to devd(8).
sbin/devd/devd.cc All output will now go to syslog(3) if devd is daemonized, or stderr if it's running in the foreground. sbin/devd/devd.8 Remove the "-D" flag. Filtering messages by priority now happens in the usual syslog way. For performance reasons, a few extra-verbose debugging statements are now conditional on the "-d" (do not daemonize) flag. etc/syslog.conf etc/newsyslog.conf Direct messages from devd(8) to /var/log/devd.log, but leave it disabled by default Reviewed by: eadler Approved by: gibbs (co-mentor) MFC after: never (removed a command-line option from devd)
Diffstat (limited to 'etc/newsyslog.conf')
-rw-r--r--etc/newsyslog.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/newsyslog.conf b/etc/newsyslog.conf
index 76e0707..9572f84 100644
--- a/etc/newsyslog.conf
+++ b/etc/newsyslog.conf
@@ -32,6 +32,7 @@
/var/log/monthly.log 640 12 * $M1D0 JN
/var/log/pflog 600 3 100 * JB /var/run/pflogd.pid
/var/log/ppp.log root:network 640 3 100 * JC
+/var/log/devd.log 644 3 100 * JC
/var/log/security 600 10 100 * JC
/var/log/sendmail.st 640 10 * 168 BN
/var/log/utx.log 644 3 * @01T05 B
OpenPOWER on IntegriCloud