xref: /openbsd/etc/syslog.conf (revision e5dd7070)
1#	$OpenBSD: syslog.conf,v 1.20 2016/12/27 13:38:14 jca Exp $
2#
3
4*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none	/var/log/messages
5kern.debug;syslog,user.info				/var/log/messages
6auth.info						/var/log/authlog
7authpriv.debug						/var/log/secure
8cron.info						/var/cron/log
9daemon.info						/var/log/daemon
10ftp.info						/var/log/xferlog
11lpr.debug						/var/log/lpd-errs
12mail.info						/var/log/maillog
13
14# Uncomment this line to send "important" messages to the system
15# console: be aware that this could create lots of output.
16#*.err;auth.notice;authpriv.none;kern.debug;mail.crit	/dev/console
17
18# Uncomment this to have all messages of notice level and higher
19# as well as all authentication messages sent to root.
20#*.notice;auth.debug					root
21
22# Everyone gets emergency messages.
23#*.emerg							*
24
25# Uncomment to log to a central host named "loghost".  You need to run
26# syslogd with the -u option on the remote host if you are using this.
27# (This is also required to log info from things like routers and
28# ISDN-equipment).  If you run -u, you are vulnerable to syslog bombing,
29# and should consider blocking external syslog packets.
30#*.notice;auth,authpriv,cron,ftp,kern,lpr,mail,user.none	@loghost
31#auth,daemon,syslog,user.info;authpriv,kern.debug		@loghost
32
33# Uncomment to log messages from doas(1) to its own log file.  Matches are done
34# based on the program name.
35# Program-specific logs:
36#!doas
37#*.*							/var/log/doas
38