summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-10-21 10:37:52 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-10-21 10:37:52 +0200
commita4e5c7d4cca1c4fe42f5690dcd17195864c59f97 (patch)
tree11cabf23c78b865b02e5f7f75e75d65769c4d1f6 /plugins
parent1bf76e99d61f7b62a6c7c52514ef7de0f1aebf81 (diff)
parent90e8475260cf8ac54519b3d964d879489af879f6 (diff)
downloadrsyslog-a4e5c7d4cca1c4fe42f5690dcd17195864c59f97.tar.gz
rsyslog-a4e5c7d4cca1c4fe42f5690dcd17195864c59f97.tar.xz
rsyslog-a4e5c7d4cca1c4fe42f5690dcd17195864c59f97.zip
Merge branch 'newqueue'
Conflicts: ChangeLog runtime/queue.c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/imdiag/imdiag.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/imdiag/imdiag.c b/plugins/imdiag/imdiag.c
index 4359cda1..cabdf157 100644
--- a/plugins/imdiag/imdiag.c
+++ b/plugins/imdiag/imdiag.c
@@ -263,6 +263,9 @@ waitMainQEmpty(tcps_sess_t *pSess)
CHKiRet(diagGetMainMsgQSize(&iMsgQueueSize));
while(iMsgQueueSize > 0) {
+ /* DEV DEBUG ONLY if(iPrint++ % 500)
+ printf("imdiag: main msg queue size: %d\n", iMsgQueueSize);
+ */
if(iPrint++ % 500 == 0)
dbgprintf("imdiag sleeping, wait mainq drain, curr size %d\n", iMsgQueueSize);
srSleep(0,2); /* wait a little bit */