summaryrefslogtreecommitdiffstats
path: root/syslog.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2004-11-08 13:52:36 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2004-11-08 13:52:36 +0000
commit05f2f1839c2712ca77e86aa679dc909d051fc23b (patch)
treeff48843fbfd9c4a7cdf3c16609247f9ef3166f40 /syslog.conf
downloadrsyslog-05f2f1839c2712ca77e86aa679dc909d051fc23b.tar.gz
rsyslog-05f2f1839c2712ca77e86aa679dc909d051fc23b.tar.xz
rsyslog-05f2f1839c2712ca77e86aa679dc909d051fc23b.zip
Initial revision
Diffstat (limited to 'syslog.conf')
-rw-r--r--syslog.conf46
1 files changed, 46 insertions, 0 deletions
diff --git a/syslog.conf b/syslog.conf
new file mode 100644
index 00000000..801f35fb
--- /dev/null
+++ b/syslog.conf
@@ -0,0 +1,46 @@
+# /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