Stop syslog from writing certain facilities to console?
Kirk Strauser
kirk at strauser.com
Sun Jul 6 09:28:01 PDT 2003
I'm running Leafnode in a FreeBSD 4.8-STABLE jail environment. `fetchnews'
reports a lot of minor errors to news.err, and these get written to console
(which annoys me to no end).
/etc/syslog.conf looks like:
*.err;kern.debug;auth.notice;mail.crit /dev/console
*.notice;kern.debug;lpr.info;mail.crit;news.err /var/log/messages
security.* /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info /var/log/maillog
lpr.info /var/log/lpd-errs
cron.* /var/log/cron
*.emerg *
news.crit /var/log/news/news.crit
news.err /var/log/news/news.err
news.notice /var/log/news/news.notice
!startslip
*.* /var/log/slip.log
!ppp
*.* /var/log/ppp.log
I can't seem to get my head around this. How can I tell it to look *.err to
console except when facility=news?
--
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030706/eec69b3e/attachment.bin
More information about the freebsd-questions
mailing list