summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/asynwr_simple.conf
blob: 44b03f2bdadf4e6ac69f8ff4ad2b555dc49e6c93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# simple async writing test
# rgerhards, 2010-03-09
$IncludeConfig diag-common.conf

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

$template outfmt,"%msg:F,58:2%\n"
$template dynfile,"rsyslog.out.log" # trick to use relative path names!
$OMFileFlushOnTXEnd off
$OMFileFlushInterval 2
$OMFileFlushIOBufferSize 10k
$OMFileAsyncWriting on
:msg, contains, "msgnum:" ?dynfile;outfmt