[ 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

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?
> -Ron


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
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                                         *
*.*                                             /var/log/slip.log
*.*                                             /var/log/ppp.log
# To reset the restricted logging to just ppp you use "!*"
# Here is the firewall log
*.*                                             /var/log/firewall.log

Best regards