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

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

$ErrorMessagesToStderr off

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

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