sbin/devd/devd.cc
authorasomers <asomers@FreeBSD.org>
Fri, 13 Dec 2013 22:58:57 +0000 (22:58 +0000)
committerasomers <asomers@FreeBSD.org>
Fri, 13 Dec 2013 22:58:57 +0000 (22:58 +0000)
commitba9a398e57ac2c83c9a4c772d65dbd67b8953a5f
tree1b49149dc6463e410a00da16220be5cf3a44f7f6
parent6be92486030da72eb988c378dccfe0aec87dfdb5
sbin/devd/devd.cc
Promoting the SIGINFO handler's log message from LOG_INFO to
LOG_NOTICE, and promoting the "Processing event ..." message from
LOG_DEBUG to LOG_INFO.  Setting the logfile to LOG_NOTICE with this
change will have the same result as setting it to LOG_INFO without
this change.  Setting it to LOG_INFO with this change will include
the useful "Processing event ..." messages that were previously at
LOG_DEBUG, without including useless messages like "Pushing table".

The intent of this change is that one can log "Processing event ..."
without logging "Pushing table" and related messages that are sent
for every event.  The number of lines actually logged is reduced by
about 75% by making this change and setting syslog to LOG_INFO vs
setting syslog to LOG_DEBUG.

etc/syslog.conf
Changing the recommended loglevel to notice instead of info.

Sponsored by: Spectra Logic Corp
MFC after: 4 weeks
etc/syslog.conf
sbin/devd/devd.cc