summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/wr_large.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-03-25 15:23:39 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-03-25 15:23:39 +0100
commitd102aab886fcde914677146caf20bd68ca41bfff (patch)
tree550478d831ac685c58a6dd16bba3f49898054907 /tests/testsuites/wr_large.conf
parent841f841ce12e49659966db006f3f244e1f23b70e (diff)
downloadrsyslog-d102aab886fcde914677146caf20bd68ca41bfff.tar.gz
rsyslog-d102aab886fcde914677146caf20bd68ca41bfff.tar.xz
rsyslog-d102aab886fcde914677146caf20bd68ca41bfff.zip
new feature: $OMFileAsyncWriting directive added
it permits to specifiy if asynchronous writing should be done or not
Diffstat (limited to 'tests/testsuites/wr_large.conf')
-rw-r--r--tests/testsuites/wr_large.conf16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/testsuites/wr_large.conf b/tests/testsuites/wr_large.conf
new file mode 100644
index 00000000..b64f132b
--- /dev/null
+++ b/tests/testsuites/wr_large.conf
@@ -0,0 +1,16 @@
+# simple async writing test
+# rgerhards, 2010-03-09
+$MaxMessageSize 10k
+$IncludeConfig diag-common.conf
+
+$ModLoad ../plugins/imtcp/.libs/imtcp
+$MainMsgQueueTimeoutShutdown 10000
+$InputTCPServerRun 13514
+
+$template outfmt,"%msg:F,58:2%,%msg:F,58:3%,%msg:F,58:4%\n"
+$template dynfile,"rsyslog.out.log" # trick to use relative path names!
+$OMFileFlushOnTXEnd off
+$OMFileFlushInterval 2
+$OMFileIOBufferSize 256k
+$IncludeConfig rsyslog.action.1.include
+local0.* ?dynfile;outfmt