sysklogd/syslog.conf
Joachim Nilsson b0a3d5cdd9 Document new include /etc/syslog.d/*.conf support
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
2019-11-02 14:13:34 +01:00

52 lines
1.2 KiB
Plaintext

# /etc/syslog.conf - Configuration file for syslogd(8)
#
# For info about the format of this file, see "man syslog.conf".
#
*.=debug -/usr/adm/debug
*.warning /usr/adm/syslog
# Store critical stuff in critical
#
*.=crit;kern.none /var/adm/critical
# Kernel messages are first, stored in the kernel file,
# critical messages and higher ones also go to another
# host and to the console
#
kern.* /var/adm/kernel
kern.crit @finlandia
kern.crit /dev/console
kern.info;kern.!err /var/adm/kernel-info
# The tcp wrapper loggs with mail.info, we display all
# the connections on tty12
#
mail.=info /dev/tty12
# Store all mail concearning stuff in a file
#
mail.*;mail.!=info -/var/adm/mail
# Log all mail.info and news.info messages to info
#
mail,news.=info -/var/adm/info
# Log info and notice mesages to messages file
#
*.=info;*.=notice;mail.none -/usr/adm/messages
#*.=info;mail,news.none -/usr/adm/messages
# Emergency messages will be displayed using wall
#
*.=emerg *
# Messages of the priority alert will be directed
# to the operator
#
*.alert root,joey
#
# Drop your subsystem .conf file in /etc/syslog.d/
#
include /etc/syslog.d/*.conf