Annotation of src/etc/syslog.conf, Revision 1.7
1.7 ! kjell 1: # $OpenBSD: syslog.conf,v 1.6 2000/04/02 21:39:42 millert Exp $
1.2 deraadt 2: #
1.3 millert 3:
4: *.err;kern.debug;auth.notice;authpriv.none;mail.crit /dev/console
1.7 ! kjell 5: *.notice;auth,authpriv,cron,local0,ftp,kern,lpr,mail,user.none /var/log/messages
1.3 millert 6: kern.debug,user.info,syslog.info /var/log/messages
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
1.4 kstailey 14: local0.info /var/log/ipflog
1.3 millert 15: #uucp.info /var/log/uucp
16:
17: *.err root
18: *.notice;auth.debug root
19: *.alert root
20: *.emerg *
21:
1.5 deraadt 22: # Uncomment to log to a central host named "loghost". You need to run
23: # syslogd with the -u option on the remote host if you are using this.
24: # (This is also required to log info from things like routers and
25: # ISDN-equipment). If you run -u, you are vulnerable to syslog bombing,
26: # and should consider using ipf to block external syslog packets
1.3 millert 27: #*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none @loghost
28: #kern.debug,user.info,syslog.info @loghost
29: #auth.info,authpriv.debug,daemon.info @loghost
1.6 millert 30:
31: # Uncomment to log messages from sudo(8) and chat(8) to their own
32: # respective log files. Matches are done based on the program name
33: # Program-specific logs:
34: #!sudo
35: #*.* /var/log/sudo
36: #!chat
37: #*.* /var/log/chat