summaryrefslogtreecommitdiffstats
path: root/rsyslog.conf
diff options
context:
space:
mode:
authorAndre Lorbach <alorbach@adiscon.com>2008-01-22 12:53:25 +0000
committerAndre Lorbach <alorbach@adiscon.com>2008-01-22 12:53:25 +0000
commit3a75a29020e15d16327b56a5f245914297d6f836 (patch)
tree3c4e52394f641524393fde30200d216cca506ef1 /rsyslog.conf
parentde0bfbbfefd9bacde0e10ea5dbeb8e8b46f0062a (diff)
downloadrsyslog-3a75a29020e15d16327b56a5f245914297d6f836.tar.gz
rsyslog-3a75a29020e15d16327b56a5f245914297d6f836.tar.xz
rsyslog-3a75a29020e15d16327b56a5f245914297d6f836.zip
Replaced original rsyslog.conf file again which was accidentaly overwritten
Diffstat (limited to 'rsyslog.conf')
-rw-r--r--rsyslog.conf34
1 files changed, 27 insertions, 7 deletions
diff --git a/rsyslog.conf b/rsyslog.conf
index 71398148..3e1270ef 100644
--- a/rsyslog.conf
+++ b/rsyslog.conf
@@ -2,15 +2,35 @@
# If you do not load inputs, nothing happens!
# You may need to set the module load path if modules are not found.
-#$ModLoad immark.so # provides --MARK-- message capability
-#$ModLoad imud.so # provides UDP syslog reception
-#$ModLoad imtcp.so # provides TCP syslog reception and GSS-API (if compiled to support it)
+$ModLoad immark.so # provides --MARK-- message capability
+$ModLoad imud.so # provides UDP syslog reception
+$ModLoad imtcp.so # provides TCP syslog reception and GSS-API (if compiled to support it)
$ModLoad imuxsock.so # provides support for local system logging (e.g. via logger command)
-#$ModLoad imklog.so # kernel logging (formerly provided by rklogd)
+$ModLoad imklog.so # kernel logging (formerly provided by rklogd)
-$ModLoad /home/al/sources/rsyslog/plugins/omsnmp/.libs/omsnmp.so
+# Log all kernel messages to the console.
+# Logging much else clutters up the screen.
+#kern.* /dev/console
-# $actionsnmptarget localhost
+# Log anything (except mail) of level info or higher.
+# Don't log private authentication messages!
+*.info;mail.none;authpriv.none;cron.none -/var/log/messages
-*.* :omsnmp:
+# The authpriv file has restricted access.
+authpriv.* /var/log/secure
+# Log all the mail messages in one place.
+mail.* -/var/log/maillog
+
+
+# Log cron stuff
+cron.* -/var/log/cron
+
+# Everybody gets emergency messages
+*.emerg *
+
+# Save news errors of level crit and higher in a special file.
+uucp,news.crit -/var/log/spooler
+
+# Save boot messages also to boot.log
+local7.* /var/log/boot.log