mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 16:50:40 +01:00
this permits us to keep a persistent test environment between v4 and v5, most importantly using the same tools. As far as the actual tests are concerned, some had issues. I had no time to check if that was an issue with the test or an actual issue with the v3/4 engine. Will do that at some later stage.
22 lines
600 B
Plaintext
22 lines
600 B
Plaintext
# Test for persisting messages on shutdown
|
|
# rgerhards, 2009-04-17
|
|
$IncludeConfig diag-common.conf
|
|
|
|
$ModLoad ../plugins/imtcp/.libs/imtcp
|
|
$MainMsgQueueTimeoutShutdown 1
|
|
$MainMsgQueueSaveOnShutdown on
|
|
$InputTCPServerRun 13514
|
|
|
|
$ModLoad ../plugins/omtesting/.libs/omtesting
|
|
|
|
# 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
|