> -----Original Message-----
> From: [email protected] [mailto:rsyslog-
> [email protected]] On Behalf Of Marcin Miroslaw
> Sent: Monday, June 04, 2012 12:59 PM
> To: [email protected]
> Subject: Re: [rsyslog] Adding message when rsyslogd terminates
>
> W dniu 04.06.2012 12:48, Rainer Gerhards pisze:
> > Strange...
>
> I think it's standard with my issues;)
Probably quite different env... So good to get these ;-)
> > Can you add the patch below and send me a new debug log. Default
> instrumentation does not convey enough info. Also, I have now extended the
> timeout quite a bit...
> Nothing changed in /tmp/wszystko.log, debug log is attached.
Sorry, need more debug info. Can you add the dbgprintf below:
*/
if(((Debug == DEBUG_FULL || NoFork) && bErrMsgToStderr) ||
iConfigVerify) {
if(LOG_PRI(pri) == LOG_ERR)
fprintf(stderr, "rsyslogd: %s\n", msg);
}
if(bHaveMainQueue == 0) { /* not yet in queued mode */
dbgprintf("iminternalAddMsg() is callled\n");
iminternalAddMsg(pMsg);
} else {
/* we have the queue, so we can simply provide the
* message to the queue engine.
*/
submitMsg(pMsg);
It's after line 577 in the already patched code.
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