summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/dynfile_cachemiss.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/dynfile_cachemiss.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/dynfile_cachemiss.conf')
-rw-r--r--tests/testsuites/dynfile_cachemiss.conf14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/testsuites/dynfile_cachemiss.conf b/tests/testsuites/dynfile_cachemiss.conf
new file mode 100644
index 00000000..273ff176
--- /dev/null
+++ b/tests/testsuites/dynfile_cachemiss.conf
@@ -0,0 +1,14 @@
+# 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:3%\n"
+$template dynfile,"%msg:F,58:2%.log" # complete name is in message
+$OMFileFlushOnTXEnd on
+$DynaFileCacheSize 4
+$IncludeConfig rsyslog.action.1.include
+local0.* ?dynfile;outfmt