Philippe,

> FYI: can reproduce, and seems to be present in master branch as well.

OK, this was a very weird issue, related to batch processing and state 
tracking. The then-case worked OK, but the else case was applied always, even 
for messages that never were intended to go into the inner if.

Bug fix is here:

http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=9b85b24d1323c91a06aeef08bbbde7a96afd46d6

It looks like I have covered all cases, but would appreciate if you could also 
give it a try. 

Note that there is some more potential for refactoring; with the patch already 
being a bit lengthy, I prefer to do that in the development branch. But first 
let's see how things evole.

Note that while the patch is lengthy, part of it is to improve script debugging 
output (which is uncritical from a regression PoV).

Rainer
_______________________________________________
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.

Reply via email to