summaryrefslogtreecommitdiff
path: root/sysconf
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-10 11:41:35 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-10-10 11:41:35 -0700
commit96ff15f3455745d348e1800fbbd6f613d9397b78 (patch)
tree0b2bb006ef0725cfb1314beddf5fc0813b1d504c /sysconf
parentd698927c49c0e27a316e496a954ad5b8a21d32e0 (diff)
downloadvyatta-cfg-system-96ff15f3455745d348e1800fbbd6f613d9397b78.tar.gz
vyatta-cfg-system-96ff15f3455745d348e1800fbbd6f613d9397b78.zip
Add ubuntu changes to rsyslog
Kernel messages and repeated message option
Diffstat (limited to 'sysconf')
-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.
#