Syslog question

Raymond T. Sundland raymond at
Wed Jun 25 09:06:14 PDT 2003

Add !news.notice to your /var/log/messages line.

man syslog.conf as well, for your own sake.

Kliment Andreev wrote:

>I have the following in /etc/syslog.conf. Notice lines (1) and (3).
>I want to log news.notice ONLY in /var/log/news/news.notice but instead of
>that I have the same output both in /var/log/news/news.notice and
>/var/log/messages. If I remove *.notice from line (3) I am afraid that I
>would not log any other *.notice messages.
>(1) news.notice
>*.err;kern.debug;auth.notice;mail.crit          /dev/console
>(3) *.notice;kern.debug;;mail.crit          /var/log/messages
>What should I modify, before I kill -HUP `cat /var/run/`.
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list