summaryrefslogtreecommitdiffstats
path: root/queue.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-03 15:58:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-03 15:58:10 +0000
commit236e2a5f73de889692a7f4197257059ee805ebc9 (patch)
treec326c4ed414ae62c72ee20f1153c0067d68b4c37 /queue.c
parent0edfa2415457fca76cc85976a4bcf2ae54f2144d (diff)
downloadrsyslog-236e2a5f73de889692a7f4197257059ee805ebc9.tar.gz
rsyslog-236e2a5f73de889692a7f4197257059ee805ebc9.tar.xz
rsyslog-236e2a5f73de889692a7f4197257059ee805ebc9.zip
added $MainMsgQueueType config parameter
Diffstat (limited to 'queue.c')
-rw-r--r--queue.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/queue.c b/queue.c
index b8b4eeff..f4dc992c 100644
--- a/queue.c
+++ b/queue.c
@@ -314,7 +314,8 @@ rsRetVal queueConstruct(queue_t **ppThis, queueType_t qType, int iMaxQueueSize,
/* now fire up the worker thread */
pThis->bDoRun = 1; /* we are NOT done (else worker would immediately terminate) */
i = pthread_create(&pThis->thrdWorker, NULL, queueWorker, (void*) pThis);
- dbgprintf("Worker thread for queue 0x%lx started with state %d.\n", (unsigned long) pThis, i);
+ dbgprintf("Worker thread for queue 0x%lx, type %d started with state %d.\n",
+ (unsigned long) pThis, (int) qType, i);
finalize_it:
if(iRet == RS_RET_OK) {