xref: /freebsd/usr.sbin/syslogd/syslog.conf (revision 02e9120893770924227138ba49df1edb3896112a)
1#
2#	Spaces ARE valid field separators in this file. However,
3#	other *nix-like systems still insist on using tabs as field
4#	separators. If you are sharing this file between systems, you
5#	may want to use only tabs as field separators here.
6#	Consult the syslog.conf(5) manpage.
7*.err;kern.warning;auth.notice;mail.crit		/dev/console
8*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err	/var/log/messages
9security.*					/var/log/security
10auth.info;authpriv.info				/var/log/auth.log
11mail.info					/var/log/maillog
12cron.*						/var/log/cron
13!-devd
14*.=debug					/var/log/debug.log
15*.emerg						*
16daemon.info					/var/log/daemon.log
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