Marcin, can you pls try this patch:
http://git.adiscon.com/?p=rsyslog.git;a=commitdiff;h=55659b96a38d926445c9ae4123df4b1d29e18c32 It worked for me, but that doesn't say anything because it also works without that patch (I don't see the race...). Rainer > -----Original Message----- > From: [email protected] [mailto:rsyslog- > [email protected]] On Behalf Of Rainer Gerhards > Sent: Monday, June 04, 2012 11:38 AM > To: rsyslog-users > Subject: Re: [rsyslog] Adding message when rsyslogd terminates > > Let me see... maybe a race where the queue does not pick up the message > quickly enough before it is terminated. I should probably add a 50ms after > issueing the message. Will give that a try... > > Rainer > > > -----Original Message----- > > From: [email protected] [mailto:rsyslog- > > [email protected]] On Behalf Of Marcin Miroslaw > > Sent: Monday, June 04, 2012 11:37 AM > > To: [email protected] > > Subject: Re: [rsyslog] Adding message when rsyslogd terminates > > > > W dniu 04.06.2012 11:29, Rainer Gerhards pisze: > > > Actually, it does so. HOWEVER, if you have busy queues that can not be > > persisted within the configured timeout, that message may never make it to > > be > > output... > > > > Hmm. I did test with very simple config, only one line: > > *.* /tmp/wszystko.log > > > > I started rsyslog, sended SIGTERM: > > # cat /tmp/wszystko.log > > 2012-06-04T11:34:19.542161+02:00 localhost rsyslogd: [origin > > software="rsyslogd" swVersion="5.8.11" x-pid="13978" > > x-info="http://www.rsyslog.com"] start > > > > _______________________________________________ > > 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 _______________________________________________ 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

