diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-16 14:40:36 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2011-03-16 14:40:36 +0100 |
commit | ce1860a0bc77ec2ba7992547776a46df6b3d0e8a (patch) | |
tree | d7cec4fcc967b53ea566a76564a08736b49fa7af /tests/testsuites/failover-basic.conf | |
parent | 9a53ec419e9d9e25a81b26a01ce5b035631e321a (diff) | |
download | rsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.tar.gz rsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.tar.xz rsyslog-ce1860a0bc77ec2ba7992547776a46df6b3d0e8a.zip |
bugfix: failover did not work correctly if repeated msg reduction was on
affected directive was: $ActionExecOnlyWhenPreviousIsSuspended on
Diffstat (limited to 'tests/testsuites/failover-basic.conf')
-rw-r--r-- | tests/testsuites/failover-basic.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/failover-basic.conf b/tests/testsuites/failover-basic.conf new file mode 100644 index 00000000..a858769c --- /dev/null +++ b/tests/testsuites/failover-basic.conf @@ -0,0 +1,8 @@ +# see the equally-named .sh file for details +$IncludeConfig diag-common.conf + +$template outfmt,"%msg:F,58:2%\n" +# note: the target server shall not be available! +:msg, contains, "msgnum:" @@127.0.0.1:13514 +$ActionExecOnlyWhenPreviousIsSuspended on +& ./rsyslog.out.log;outfmt |