summaryrefslogtreecommitdiffstats
path: root/runtime/wti.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-03-12 16:12:40 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-12 16:12:40 +0100
commit74e09afd6db56f6e23c965f0949cfb9979928f13 (patch)
tree474696cdc9936c58916d96e5e3d01d38c851ef79 /runtime/wti.c
parent50a94aa1c72ba8aab5443ecc04b51190da0df513 (diff)
parent16cc84fc699fc3f830b0c28d677d6ae0daa35723 (diff)
downloadrsyslog-74e09afd6db56f6e23c965f0949cfb9979928f13.tar.gz
rsyslog-74e09afd6db56f6e23c965f0949cfb9979928f13.tar.bz2
rsyslog-74e09afd6db56f6e23c965f0949cfb9979928f13.zip
Merge branch 'v5-stable' into v5-stable-newstats
Diffstat (limited to 'runtime/wti.c')
-rw-r--r--runtime/wti.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/wti.c b/runtime/wti.c
index 0b85c366..69da2e9f 100644
--- a/runtime/wti.c
+++ b/runtime/wti.c
@@ -315,6 +315,8 @@ wtiWorker(wti_t *pThis)
if(localRet == RS_RET_IDLE) {
if(terminateRet == RS_RET_TERMINATE_WHEN_IDLE || bInactivityTOOccured) {
d_pthread_mutex_unlock(pWtp->pmutUsr);
+ dbgoprint((obj_t*) pThis, "terminating worker terminateRet=%d, bInactivityTOOccured=%d\n",
+ terminateRet, bInactivityTOOccured);
break; /* end of loop */
}
doIdleProcessing(pThis, pWtp, &bInactivityTOOccured);