Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 1999 16:07:58 -0600
From:      "Rich Spickler" <richs@vicor-nb.com>
To:        <freebsd-questions@FreeBSD.Org>
Subject:   Syslog and sudo
Message-ID:  <000101bf3536$08da65e0$f229a8c0@rich.mo.lbx2k.com>

next in thread | raw e-mail | index | archive | help
Greetings,
Below is my syslog file with which we are trying to exclude sudo messages in
/var/log/messages.  With sudo.none it excludes all notice entries as well.
We believe that sudo.none is not valid so it does nothing for that line.
How can we exclude sudo messages in /var/log messages?

Thanks,

Rich Spickler


*.err;kern.debug;auth.notice;mail.crit          /dev/console
*.notice;sudo.none                                        /var/log/messages
kern.debug                                      /var/log/messages
lpr.info                                        /var/log/messages
news.err                                        /var/log/messages
mail.crit                                       /var/log/messages
mail.info                                       /var/log/maillog
lpr.info                                        /var/log/lpd-errs
cron.*                                          /var/cron/log
root.*                                          /var/log/root
*.err                                           root
*.notice;news.err                               root
*.alert                                         root
*.emerg                                         *
# uncomment these if you're running inn
# 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
!sudo
*.*                                             @cfg1




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000101bf3536$08da65e0$f229a8c0>