summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/discard.conf
blob: bbe2fe77002b049352c7b25466cf1716594f40ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Test for discard functionality
# rgerhards, 2009-07-30
$IncludeConfig diag-common.conf

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

:msg, contains, "00000001" ~

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