On Mon, 5 May 2014, Thomas D. wrote:
Hi,
maybe that's another problem due to mix between old and new syntax and
therefore it isn't working like expected... but I didn't find something
in the documentation about this:
My test configuration:
module(load="imuxsock")
$RepeatedMsgReduction on
I think you need to have this be part of the module load.
you generally can't mix the two syntax types like this.
David Lang
module(
load="builtin:omfile"
Template="RSYSLOG_TraditionalFileFormat"
FileCreateMode="0644"
DirCreateMode="0755"
)
*.* action(
type="omfile"
File="/var/log/test.log"
FileOwner="root"
FileGroup="adm"
)
Now I am generating a lot of repeating messages:
# for i in {1..500} ; do logger -p local5.info -t tester "repeat-test" ;
done
...but I see 500 identical messages in /var/test.log. No "last message
repeated n times" message.
Where's my error?
Thanks!
(Tested with rsyslog-7.6.3)
-Thomas
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.