summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/arrayqueue.conf
blob: c5874a83fc1dbca648fd918c91e1ebf2cc37d3f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Test for queue fixedArray mode (see .sh file for details)
# rgerhards, 2009-04-17
$IncludeConfig diag-common.conf

$ModLoad ../plugins/imtcp/.libs/imtcp
$MainMsgQueueTimeoutShutdown 10000
$InputTCPServerRun 13514

# set spool locations and switch queue to disk-only mode
$MainMsgQueueType FixedArray

$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
:msg, contains, "msgnum:" ?dynfile;outfmt