Hi
måndag 16 maj 2005 00.23 skrev Ron Rosson:
> Using FreeBSD..
>
> But doesn't that entry you have below cause it to log in /var/log/messages
> as well as the log you have defined?
>
> TIA
> -Ron
Yes
Here is my working syslog.conf:
# First you restrict the logging to the localhost by use of the "+@"
+@
# Normal stuff
*.err;kern.debug;auth.notice;mail.crit /dev/console
*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err /var/log/message
s
security.* /var/log/security
auth.info;authpriv.info /var/log/auth.log
mail.info /var/log/maillog
lpr.info /var/log/lpd-errs
ftp.info /var/log/xferlog
cron.* /var/log/cron
*.=debug /var/log/debug.log
*.emerg *
!startslip
*.* /var/log/slip.log
!ppp
*.* /var/log/ppp.log
# To reset the restricted logging to just ppp you use "!*"
!*
# Here is the firewall log
+soekris.halleforshunden.org
*.* /var/log/firewall.log
# END
Best regards
/Anders |