rsyslog/tests/testsuites/da-mainmsg-q.conf
2009-04-23 11:19:32 +02:00

23 lines
793 B
Plaintext

# Test for DA mode in main message queue (see .sh file for details)
# rgerhards, 2009-04-22
$ModLoad ../plugins/imtcp/.libs/imtcp
$MainMsgQueueTimeoutShutdown 10000
$InputTCPServerRun 13514
$ErrorMessagesToStderr off
# set spool locations and switch queue to disk assisted mode
$WorkDirectory test-spool
$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
$MainMsgQueueType linkedlist
$MainMsgQueueDeqzezeSlowdown 1000
$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
:msg, contains, "msgnum:" ?dynfile;outfmt