summaryrefslogtreecommitdiff
path: root/sysconf/rsyslog.conf
diff options
context:
space:
mode:
Diffstat (limited to 'sysconf/rsyslog.conf')
-rw-r--r--sysconf/rsyslog.conf5
1 files changed, 5 insertions, 0 deletions
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.
#