Type: global configuration directive
Default: off
This directive models old sysklogd legacy. Note that many people, including the rsyslog authors, consider this to be a misfeature. See Discussion below to learn why.
This directive specifies whether or not repeated messages should be reduced (this is the “Last line repeated n times” feature). If set to on, repeated messages are reduced. If kept at off, every message is logged. In very early versions of rsyslog, this was controlled by the -e command line option.
For a message to be classified as repeated, the following properties must be identical:
Note that rate-limiters are usually applied to specific input sources or processes. So first and foremost the input source must be the same to classify a messages as a duplicated.
You may want to check out testing rsyslog ratelimiting for some extra information on the per-process ratelimiting.
This turns on repeated message reduction (not recommended):
$RepeatedMsgReduction on # do not log repeated messages
This documentation is part of the rsyslog project. Copyright © 2007-2014 by Rainer Gerhards and Adiscon. Released under the GNU GPL version 2 or higher.