> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] 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
_______________________________________________
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

Reply via email to