xref: /freebsd/usr.sbin/syslogd/syslog.conf (revision c697fb7f)
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						*
17daemon.info					/var/log/daemon.log
18# uncomment this to log all writes to /dev/console to /var/log/console.log
19# touch /var/log/console.log and chmod it to mode 600 before it will work
20#console.info					/var/log/console.log
21# uncomment this to enable logging of all log messages to /var/log/all.log
22# touch /var/log/all.log and chmod it to mode 600 before it will work
23#*.*						/var/log/all.log
24# uncomment this to enable logging to a remote loghost named loghost
25#*.*						@loghost
26# uncomment these if you're running inn
27# news.crit					/var/log/news/news.crit
28# news.err					/var/log/news/news.err
29# news.notice					/var/log/news/news.notice
30# Uncomment this if you wish to see messages produced by devd
31# !devd
32# *.>=notice					/var/log/devd.log
33!*
34include						/etc/syslog.d
35include						/usr/local/etc/syslog.d
36