rsyslog/tests/testsuites/threadingmq.conf
2009-11-05 14:31:37 +01:00

17 lines
493 B
Plaintext

# Threading test, we run a tcp flood to via an
# engine instructed to use multiple threads
# rgerhards, 2009-06-26
$IncludeConfig diag-common.conf
$MainMsgQueueTimeoutShutdown 100000
$MainMsgQueueWorkerThreadMinimumMessages 10
$MainMsgQueueWorkerThreads 5
$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
# write quickly to the output file:
$OMFileFlushOnTXEnd off
$OMFileIOBufferSize 256k
:msg, contains, "msgnum:" ?dynfile;outfmt