summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r--tools/syslogd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 3f97a70f..b005b6d0 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -908,6 +908,8 @@ logmsgInternal(int iErr, int pri, uchar *msg, int flags)
datetime.getCurrTime(&(pMsg->tTIMESTAMP)); /* use the current time! */
flags |= INTERNAL_MSG;
+RUNLOG_VAR("%d", bHaveMainQueue);
+RUNLOG_VAR("%p", pMsg);
if(bHaveMainQueue == 0) { /* not yet in queued mode */
iminternalAddMsg(pri, pMsg, flags);
} else {
@@ -1626,10 +1628,14 @@ logmsg(msg_t *pMsg, int flags)
/* ---------------------- END PARSING ---------------- */
+RUNLOG;
/* now submit the message to the main queue - then we are done */
pMsg->msgFlags = flags;
+RUNLOG;
MsgPrepareEnqueue(pMsg);
+RUNLOG;
queueEnqObj(pMsgQueue, pMsg->flowCtlType, (void*) pMsg);
+RUNLOG;
ENDfunc
}