summaryrefslogtreecommitdiffstats
path: root/etc/syslog.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/syslog.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/syslog.conf')
-rw-r--r--etc/syslog.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/syslog.conf b/etc/syslog.conf
index 242d27a..702bd66 100644
--- a/etc/syslog.conf
+++ b/etc/syslog.conf
@@ -13,6 +13,7 @@ mail.info /var/log/maillog
lpr.info /var/log/lpd-errs
ftp.info /var/log/xferlog
cron.* /var/log/cron
+!-devd
*.=debug /var/log/debug.log
*.emerg *
# uncomment this to log all writes to /dev/console to /var/log/console.log
@@ -27,6 +28,9 @@ cron.* /var/log/cron
# news.crit /var/log/news/news.crit
# news.err /var/log/news/news.err
# news.notice /var/log/news/news.notice
+# Uncomment this if you wish to see messages produced by devd
+# !devd
+# *.>=info /var/log/devd.log
!ppp
*.* /var/log/ppp.log
!*
OpenPOWER on IntegriCloud