rsyslog/tests/testsuites/asynwr_tinybuf.conf
Rainer Gerhards d102aab886 new feature: $OMFileAsyncWriting directive added
it permits to specifiy if asynchronous writing should be done or not
2010-03-25 15:23:39 +01:00

16 lines
424 B
Plaintext

# 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
$OMFileIOBufferSize 1
$OMFileAsyncWriting on
:msg, contains, "msgnum:" ?dynfile;outfmt