mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-15 10:30:40 +01:00
improving debugging info a bit
This commit is contained in:
parent
50174408b0
commit
feddb7ea18
@ -1818,9 +1818,11 @@ rsRetVal qqueueStart(qqueue_t *pThis) /* this is the ConstructionFinalizer */
|
||||
/* call type-specific constructor */
|
||||
CHKiRet(pThis->qConstruct(pThis)); /* this also sets bIsDA */
|
||||
|
||||
dbgoprint((obj_t*) pThis, "type %d, enq-only %d, disk assisted %d, maxFileSz %lld, qsize %d, child %d starting\n",
|
||||
dbgoprint((obj_t*) pThis, "type %d, enq-only %d, disk assisted %d, maxFileSz %lld, qsize %d, child %d, "
|
||||
"full delay %d, light delay %d starting\n",
|
||||
pThis->qType, pThis->bEnqOnly, pThis->bIsDA, pThis->iMaxFileSize,
|
||||
qqueueGetOverallQueueSize(pThis), pThis->pqParent == NULL ? 0 : 1);
|
||||
qqueueGetOverallQueueSize(pThis), pThis->pqParent == NULL ? 0 : 1,
|
||||
pThis->iFullDlyMrk, pThis->iLightDlyMrk);
|
||||
|
||||
if(pThis->qType == QUEUETYPE_DIRECT)
|
||||
FINALIZE; /* with direct queues, we are already finished... */
|
||||
|
||||
@ -8,7 +8,9 @@ $ErrorMessagesToStderr off
|
||||
|
||||
# set spool locations and switch queue to disk assisted mode
|
||||
$WorkDirectory test-spool
|
||||
$MainMsgQueueSize 100 # this *should* trigger moving on to DA mode...
|
||||
$MainMsgQueueSize 200 # this *should* trigger moving on to DA mode...
|
||||
# note: we must set QueueSize sufficiently high, so that 70% (light delay mark)
|
||||
# is high enough above HighWatermark!
|
||||
$MainMsgQueueHighWatermark 80
|
||||
$MainMsgQueueLowWatermark 40
|
||||
$MainMsgQueueFilename mainq
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user