[rsyslog] $RepeatedMsgReduction discarding hostname

Rainer Gerhards rgerhards at hq.adiscon.com
Mon Jun 11 18:26:32 CEST 2012


> -----Original Message-----
> From: rsyslog-bounces at lists.adiscon.com [mailto:rsyslog-
> bounces at lists.adiscon.com] On Behalf Of bodik
> Sent: Monday, June 11, 2012 1:58 PM
> To: rsyslog-users
> Cc: Zdenek Salvet
> Subject: [rsyslog] $RepeatedMsgReduction discarding hostname
> 
> Hello,
> 
> Zdenek Salvet found, that rsyslog discards hostname when
> $RepeatedMsgReduction
> is ON. This is reproducible both on v5-stable and v6-stable branch. V4 version
> seems to be working fine.
> 
> I briefly looked into action.c, but there no major changes in message
> preparation. Does anyone has an idea where it may come from?

This should fix it:

http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=3ebbb9c4bbfe5d4a815861afde28df47d35b022e

(I could reproduce and it fixed it for me).

Thanks for reporting!
Rainer
> 
> Thank you very much
> bodik
> 
> ----------
> 
> Jun 11 13:22:32 server2 root: a
> Jun 11 13:22:35  root: last message repeated 4 times
> Jun 11 13:22:35 server2 root: b
> 
> ----------
> 
> rsyslogd 5.8.12, compiled with:
> 	FEATURE_REGEXP:				Yes
> 	FEATURE_LARGEFILE:			No
> 	GSSAPI Kerberos 5 support:		Yes
> 	FEATURE_DEBUG (debug build, slow code):	No
> 	32bit Atomic operations supported:	Yes
> 	64bit Atomic operations supported:	Yes
> 	Runtime Instrumentation (slow code):	No
> 
> ----------
> rsyslogd 6.2.1, compiled with:
> 	FEATURE_REGEXP:				Yes
> 	FEATURE_LARGEFILE:			No
> 	GSSAPI Kerberos 5 support:		Yes
> 	FEATURE_DEBUG (debug build, slow code):	No
> 	32bit Atomic operations supported:	Yes
> 	64bit Atomic operations supported:	Yes
> 	Runtime Instrumentation (slow code):	No
> _______________________________________________
> 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



More information about the rsyslog mailing list