From 3a75a29020e15d16327b56a5f245914297d6f836 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Tue, 22 Jan 2008 12:53:25 +0000 Subject: Replaced original rsyslog.conf file again which was accidentaly overwritten --- rsyslog.conf | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) (limited to 'rsyslog.conf') 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 -- cgit