Comment 7 for bug 453444

Revision history for this message
Michael Vogt (mvo) wrote :

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 address hidden> Fri, 23 Oct 2009 17:28:10 +0200
+
 rsyslog (4.2.0-2ubuntu5) karmic; urgency=low

   Upstart fixups; LP: #430220