Annotation of src/etc/syslog.conf, Revision 1.13
1.13 ! jmc 1: # $OpenBSD: syslog.conf,v 1.12 2001/08/23 13:27:52 camield Exp $
1.2 deraadt 2: #
1.3 millert 3:
4: *.err;kern.debug;auth.notice;authpriv.none;mail.crit /dev/console
1.12 camield 5: *.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none /var/log/messages
1.13 ! jmc 6: kern.debug;user.info;syslog.info /var/log/messages
1.3 millert 7: auth.info /var/log/authlog
8: authpriv.debug /var/log/secure
9: cron.info /var/cron/log
10: daemon.info /var/log/daemon
11: ftp.info /var/log/xferlog
12: lpr.debug /var/log/lpd-errs
13: mail.info /var/log/maillog
14: #uucp.info /var/log/uucp
15:
16: *.err root
17: *.notice;auth.debug root
18: *.alert root
19: *.emerg *
20:
1.5 deraadt 21: # Uncomment to log to a central host named "loghost". You need to run
22: # syslogd with the -u option on the remote host if you are using this.
23: # (This is also required to log info from things like routers and
24: # ISDN-equipment). If you run -u, you are vulnerable to syslog bombing,
1.8 deraadt 25: # and should consider blocking external syslog packets
1.3 millert 26: #*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none @loghost
27: #kern.debug,user.info,syslog.info @loghost
28: #auth.info,authpriv.debug,daemon.info @loghost
1.6 millert 29:
30: # Uncomment to log messages from sudo(8) and chat(8) to their own
31: # respective log files. Matches are done based on the program name
32: # Program-specific logs:
33: #!sudo
34: #*.* /var/log/sudo
35: #!chat
36: #*.* /var/log/chat