rsyslog/tests/testsuites/execonlywhenprevsuspended_multiwrkr.conf
2013-12-05 14:12:49 +01:00

13 lines
443 B
Plaintext

main_queue(queue.dequeueBatchSize="10" queue.workerthreads="3" queue.workerthreadminimummessages="100")
$IncludeConfig diag-common.conf
# omtesting provides the ability to cause "SUSPENDED" action state
$ModLoad ../plugins/omtesting/.libs/omtesting
$MainMsgQueueTimeoutShutdown 100000
$template outfmt,"%msg:F,58:2%\n"
:msg, contains, "msgnum:" :omtesting:fail 2 0
$ActionExecOnlyWhenPreviousIsSuspended on
& ./rsyslog.out.log;outfmt