xref: /freebsd/usr.sbin/syslogd/syslog.conf (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
164be79efSBrad Davis#
264be79efSBrad Davis#	Spaces ARE valid field separators in this file. However,
364be79efSBrad Davis#	other *nix-like systems still insist on using tabs as field
464be79efSBrad Davis#	separators. If you are sharing this file between systems, you
564be79efSBrad Davis#	may want to use only tabs as field separators here.
664be79efSBrad Davis#	Consult the syslog.conf(5) manpage.
764be79efSBrad Davis*.err;kern.warning;auth.notice;mail.crit		/dev/console
864be79efSBrad Davis*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err	/var/log/messages
964be79efSBrad Davissecurity.*					/var/log/security
1064be79efSBrad Davisauth.info;authpriv.info				/var/log/auth.log
1164be79efSBrad Davismail.info					/var/log/maillog
1264be79efSBrad Daviscron.*						/var/log/cron
1364be79efSBrad Davis!-devd
1464be79efSBrad Davis*.=debug					/var/log/debug.log
1564be79efSBrad Davis*.emerg						*
16*cd4b2a3cSSteve Willsdaemon.info					/var/log/daemon.log
1764be79efSBrad Davis# uncomment this to log all writes to /dev/console to /var/log/console.log
1864be79efSBrad Davis# touch /var/log/console.log and chmod it to mode 600 before it will work
1964be79efSBrad Davis#console.info					/var/log/console.log
2064be79efSBrad Davis# uncomment this to enable logging of all log messages to /var/log/all.log
2164be79efSBrad Davis# touch /var/log/all.log and chmod it to mode 600 before it will work
2264be79efSBrad Davis#*.*						/var/log/all.log
2364be79efSBrad Davis# uncomment this to enable logging to a remote loghost named loghost
2464be79efSBrad Davis#*.*						@loghost
2564be79efSBrad Davis# uncomment these if you're running inn
2664be79efSBrad Davis# news.crit					/var/log/news/news.crit
2764be79efSBrad Davis# news.err					/var/log/news/news.err
2864be79efSBrad Davis# news.notice					/var/log/news/news.notice
2964be79efSBrad Davis# Uncomment this if you wish to see messages produced by devd
3064be79efSBrad Davis# !devd
3164be79efSBrad Davis# *.>=notice					/var/log/devd.log
3264be79efSBrad Davis!*
3364be79efSBrad Davisinclude						/etc/syslog.d
3464be79efSBrad Davisinclude						/usr/local/etc/syslog.d
35