diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 15:23:39 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-25 15:23:39 +0100 |
commit | d102aab886fcde914677146caf20bd68ca41bfff (patch) | |
tree | 550478d831ac685c58a6dd16bba3f49898054907 /tests/testsuites | |
parent | 841f841ce12e49659966db006f3f244e1f23b70e (diff) | |
download | rsyslog-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')
-rw-r--r-- | tests/testsuites/asynwr_deadlock.conf | 1 | ||||
-rw-r--r-- | tests/testsuites/asynwr_deadlock2.conf | 1 | ||||
-rw-r--r-- | tests/testsuites/asynwr_deadlock4.conf | 1 | ||||
-rw-r--r-- | tests/testsuites/asynwr_simple.conf | 1 | ||||
-rw-r--r-- | tests/testsuites/asynwr_small.conf | 1 | ||||
-rw-r--r-- | tests/testsuites/asynwr_timeout.conf | 1 | ||||
-rw-r--r-- | tests/testsuites/asynwr_tinybuf.conf | 1 | ||||
-rw-r--r-- | tests/testsuites/dynfile_cachemiss.conf (renamed from tests/testsuites/dynfile_invalid.conf) | 2 | ||||
-rw-r--r-- | tests/testsuites/wr_large.conf (renamed from tests/testsuites/asynwr_large.conf) | 1 |
9 files changed, 9 insertions, 1 deletions
diff --git a/tests/testsuites/asynwr_deadlock.conf b/tests/testsuites/asynwr_deadlock.conf index d703791a..dc4045b0 100644 --- a/tests/testsuites/asynwr_deadlock.conf +++ b/tests/testsuites/asynwr_deadlock.conf @@ -10,4 +10,5 @@ $template outfmt,"%msg:F,58:2%\n" $OMFileFlushOnTXEnd on $OMFileFlushInterval 10 $OMFileFlushIOBufferSize 10k +$OMFileAsyncWriting on :msg, contains, "msgnum:" ./rsyslog.out.log;outfmt diff --git a/tests/testsuites/asynwr_deadlock2.conf b/tests/testsuites/asynwr_deadlock2.conf index c3eecae3..07811613 100644 --- a/tests/testsuites/asynwr_deadlock2.conf +++ b/tests/testsuites/asynwr_deadlock2.conf @@ -11,5 +11,6 @@ $template dynfile,"rsyslog.out.%msg:F,58:2%.log" # use multiple dynafiles $OMFileFlushOnTXEnd on $OMFileFlushInterval 10 $OMFileIOBufferSize 10k +$OMFileAsyncWriting on $DynaFileCacheSize 4 local0.* ?dynfile;outfmt diff --git a/tests/testsuites/asynwr_deadlock4.conf b/tests/testsuites/asynwr_deadlock4.conf index 23ce3cfc..f4308ff1 100644 --- a/tests/testsuites/asynwr_deadlock4.conf +++ b/tests/testsuites/asynwr_deadlock4.conf @@ -11,5 +11,6 @@ $template dynfile,"rsyslog.out.log" # use multiple dynafiles $OMFileFlushOnTXEnd on $OMFileFlushInterval 10 $OMFileIOBufferSize 10k +$OMFileAsyncWriting on $DynaFileCacheSize 4 local0.* ?dynfile;outfmt diff --git a/tests/testsuites/asynwr_simple.conf b/tests/testsuites/asynwr_simple.conf index 68b85ff5..44b03f2b 100644 --- a/tests/testsuites/asynwr_simple.conf +++ b/tests/testsuites/asynwr_simple.conf @@ -11,4 +11,5 @@ $template dynfile,"rsyslog.out.log" # trick to use relative path names! $OMFileFlushOnTXEnd off $OMFileFlushInterval 2 $OMFileFlushIOBufferSize 10k +$OMFileAsyncWriting on :msg, contains, "msgnum:" ?dynfile;outfmt diff --git a/tests/testsuites/asynwr_small.conf b/tests/testsuites/asynwr_small.conf index d9724cec..f04ce962 100644 --- a/tests/testsuites/asynwr_small.conf +++ b/tests/testsuites/asynwr_small.conf @@ -10,4 +10,5 @@ $template outfmt,"%msg:F,58:2%\n" $template dynfile,"rsyslog.out.log" # trick to use relative path names! $OMFileFlushOnTXEnd off $OMFileFlushInterval 2 +$OMFileAsyncWriting on :msg, contains, "msgnum:" ?dynfile;outfmt diff --git a/tests/testsuites/asynwr_timeout.conf b/tests/testsuites/asynwr_timeout.conf index 68b85ff5..44b03f2b 100644 --- a/tests/testsuites/asynwr_timeout.conf +++ b/tests/testsuites/asynwr_timeout.conf @@ -11,4 +11,5 @@ $template dynfile,"rsyslog.out.log" # trick to use relative path names! $OMFileFlushOnTXEnd off $OMFileFlushInterval 2 $OMFileFlushIOBufferSize 10k +$OMFileAsyncWriting on :msg, contains, "msgnum:" ?dynfile;outfmt diff --git a/tests/testsuites/asynwr_tinybuf.conf b/tests/testsuites/asynwr_tinybuf.conf index 9818b139..01dec4d8 100644 --- a/tests/testsuites/asynwr_tinybuf.conf +++ b/tests/testsuites/asynwr_tinybuf.conf @@ -11,4 +11,5 @@ $template dynfile,"rsyslog.out.log" # trick to use relative path names! $OMFileFlushOnTXEnd off $OMFileFlushInterval 2 $OMFileIOBufferSize 1 +$OMFileAsyncWriting on :msg, contains, "msgnum:" ?dynfile;outfmt diff --git a/tests/testsuites/dynfile_invalid.conf b/tests/testsuites/dynfile_cachemiss.conf index 458f199b..273ff176 100644 --- a/tests/testsuites/dynfile_invalid.conf +++ b/tests/testsuites/dynfile_cachemiss.conf @@ -10,5 +10,5 @@ $template outfmt,"%msg:F,58:3%\n" $template dynfile,"%msg:F,58:2%.log" # complete name is in message $OMFileFlushOnTXEnd on $DynaFileCacheSize 4 -$omfileFlushInterval 1 +$IncludeConfig rsyslog.action.1.include local0.* ?dynfile;outfmt diff --git a/tests/testsuites/asynwr_large.conf b/tests/testsuites/wr_large.conf index de41bc43..b64f132b 100644 --- a/tests/testsuites/asynwr_large.conf +++ b/tests/testsuites/wr_large.conf @@ -12,4 +12,5 @@ $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 |