From 96ff15f3455745d348e1800fbbd6f613d9397b78 Mon Sep 17 00:00:00 2001 From: Stephen Hemminger Date: Sun, 10 Oct 2010 11:41:35 -0700 Subject: Add ubuntu changes to rsyslog Kernel messages and repeated message option --- sysconf/rsyslog.conf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'sysconf/rsyslog.conf') diff --git a/sysconf/rsyslog.conf b/sysconf/rsyslog.conf index 9d767d90..919df901 100644 --- a/sysconf/rsyslog.conf +++ b/sysconf/rsyslog.conf @@ -12,6 +12,8 @@ $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) #$ModLoad immark # provides --MARK-- message capability +$KLogPath /proc/kmsg + # provides UDP syslog reception #$ModLoad imudp #$UDPServerRun 514 @@ -31,6 +33,9 @@ $ModLoad imklog # provides kernel logging support (previously done by rklogd) # $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat +# Filter duplicated messages +$RepeatedMsgReduction on + # # Set the default permissions for all log files. # -- cgit v1.2.3