diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-25 16:14:06 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-25 16:14:06 +0100 |
commit | 809c7e3cdcba3bef8d29702f37c3c8b580c3d1bd (patch) | |
tree | 3298915a1d58ebb1bc5409f6541fbdd3f95abf41 /action.c | |
parent | 06b98a56d4422647cffae9b52577cf2ae8aa8991 (diff) | |
download | rsyslog-809c7e3cdcba3bef8d29702f37c3c8b580c3d1bd.tar.gz rsyslog-809c7e3cdcba3bef8d29702f37c3c8b580c3d1bd.tar.xz rsyslog-809c7e3cdcba3bef8d29702f37c3c8b580c3d1bd.zip |
enhanced module debug output
... and addes some (later-to-be-removed) debug code to support finding
a problem in transaction handling.
Diffstat (limited to 'action.c')
-rw-r--r-- | action.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -769,9 +769,11 @@ finishBatch(action_t *pThis) if(pThis->eState == ACT_STATE_RDY) FINALIZE; /* nothing to do */ +DBGPRINTF("finishBatch was called\n"); CHKiRet(actionPrepare(pThis)); if(pThis->eState == ACT_STATE_ITX) { iRet = pThis->pMod->mod.om.endTransaction(pThis->pModData); +DBGPRINTF("finishBatch returned %d for endTransaction\n", iRet); switch(iRet) { case RS_RET_OK: actionCommitted(pThis); @@ -884,6 +886,7 @@ submitBatch(action_t *pAction, batch_t *pBatch, int nElem, int *pbShutdownImmedi bDone = 0; do { localRet = tryDoAction(pAction, pBatch, &nElem, pbShutdownImmediate); +dbgprintf("submitBatch: state of tryDoAction %d\n", localRet); if(localRet == RS_RET_FORCE_TERM) FINALIZE; if( localRet == RS_RET_OK |