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