diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-27 11:37:10 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-05-27 11:37:10 +0200 |
commit | 35ea061f62cf0cbae074b2df47dc6b462da4fd20 (patch) | |
tree | 08c0735b16914c998d54f5731e2669b82b14facf /tests/testsuites/queue-persist.conf | |
parent | 78bc40e1af312d076c4cc2225c9281b6725217f6 (diff) | |
parent | 74ed599ea6ab96cffba35ca14f5654523f89bc61 (diff) | |
download | rsyslog-35ea061f62cf0cbae074b2df47dc6b462da4fd20.tar.gz rsyslog-35ea061f62cf0cbae074b2df47dc6b462da4fd20.tar.xz rsyslog-35ea061f62cf0cbae074b2df47dc6b462da4fd20.zip |
Merge branch 'diag'
Diffstat (limited to 'tests/testsuites/queue-persist.conf')
-rw-r--r-- | tests/testsuites/queue-persist.conf | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/testsuites/queue-persist.conf b/tests/testsuites/queue-persist.conf new file mode 100644 index 00000000..80f8ba30 --- /dev/null +++ b/tests/testsuites/queue-persist.conf @@ -0,0 +1,23 @@ +# Test for persisting messages on shutdown +# rgerhards, 2009-04-17 +$IncludeConfig testsuites/diag-common.conf + +$ModLoad ../plugins/imtcp/.libs/imtcp +$MainMsgQueueTimeoutShutdown 1 +$MainMsgQueueSaveOnShutdown on +$InputTCPServerRun 13514 + +$ModLoad ../plugins/omtesting/.libs/omtesting + +$ErrorMessagesToStderr off + +# set spool locations and switch queue to disk-only mode +$WorkDirectory test-spool +$MainMsgQueueFilename mainq +$IncludeConfig work-queuemode.conf + +$template outfmt,"%msg:F,58:2%\n" +$template dynfile,"rsyslog.out.log" # trick to use relative path names! +:msg, contains, "msgnum:" ?dynfile;outfmt + +$IncludeConfig work-delay.conf |