xref: /freebsd/usr.sbin/syslogd/syslog.conf (revision f6a3b357e9be4c6423c85eff9a847163a0d307c8)
1# $FreeBSD$
2#
3#	Spaces ARE valid field separators in this file. However,
4#	other *nix-like systems still insist on using tabs as field
5#	separators. If you are sharing this file between systems, you
6#	may want to use only tabs as field separators here.
7#	Consult the syslog.conf(5) manpage.
8*.err;kern.warning;auth.notice;mail.crit		/dev/console
9*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err	/var/log/messages
10security.*					/var/log/security
11auth.info;authpriv.info				/var/log/auth.log
12mail.info					/var/log/maillog
13cron.*						/var/log/cron
14!-devd
15*.=debug					/var/log/debug.log
16*.emerg						*
17# uncomment this to log all writes to /dev/console to /var/log/console.log
18# touch /var/log/console.log and chmod it to mode 600 before it will work
19#console.info					/var/log/console.log
20# uncomment this to enable logging of all log messages to /var/log/all.log
21# touch /var/log/all.log and chmod it to mode 600 before it will work
22#*.*						/var/log/all.log
23# uncomment this to enable logging to a remote loghost named loghost
24#*.*						@loghost
25# uncomment these if you're running inn
26# news.crit					/var/log/news/news.crit
27# news.err					/var/log/news/news.err
28# news.notice					/var/log/news/news.notice
29# Uncomment this if you wish to see messages produced by devd
30# !devd
31# *.>=notice					/var/log/devd.log
32!*
33include						/etc/syslog.d
34include						/usr/local/etc/syslog.d
35