This diff should turn on the duplication detection in rsyslog:

diff -u rsyslog-4.2.0/debian/rsyslog.conf rsyslog-4.2.0/debian/rsyslog.conf
--- rsyslog-4.2.0/debian/rsyslog.conf
+++ rsyslog-4.2.0/debian/rsyslog.conf
@@ -35,6 +35,9 @@
 #
 $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
 
+# Filter duplicated messages
+$RepeatedMsgReduction on
+
 #
 # Set the default permissions for all log files.
 #
diff -u rsyslog-4.2.0/debian/changelog rsyslog-4.2.0/debian/changelog
--- rsyslog-4.2.0/debian/changelog
+++ rsyslog-4.2.0/debian/changelog
@@ -1,3 +1,10 @@
+rsyslog (4.2.0-2ubuntu6) karmic; urgency=low
+
+  * enable $RepeatedMsgReduction to avoid bloating the syslog
+    file (LP: #453444)
+
+ -- Michael Vogt <[email protected]>  Fri, 23 Oct 2009 17:28:10 +0200
+
 rsyslog (4.2.0-2ubuntu5) karmic; urgency=low
 
   Upstart fixups; LP: #430220

-- 
/var/log fills up with "all normal" messages @ about 575/sec fill up the 
available space
https://bugs.launchpad.net/bugs/453444
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to