[ previous ] [ next ] [ threads ]
 
 From:  Anders Hagman <anders dot hagman at netplex dot se>
 To:  Ron Rosson <ron at oneinsane dot net>
 Cc:  m0n0wall at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall] Syslogd Help
 Date:  Sat, 21 May 2005 23:36:43 +0200
Hi


> 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