diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-05 07:56:57 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2010-03-05 07:56:57 +0100 |
commit | b3c8528b5087289c9b1f357f98f890190a5621a0 (patch) | |
tree | ad0cefb7902ab3de9b2d2fb72be2bcbb8ddadcbf /tests/testsuites/parse-3164-buggyday.conf | |
parent | 5402ba982fd8c9bb9ce7fab43ddabaa174ab0794 (diff) | |
download | rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.tar.gz rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.tar.xz rsyslog-b3c8528b5087289c9b1f357f98f890190a5621a0.zip |
added new property replacer option "date-rfc3164-buggyday"
primarily to ease migration from syslog-ng. See property replacer doc
for details.
Diffstat (limited to 'tests/testsuites/parse-3164-buggyday.conf')
-rw-r--r-- | tests/testsuites/parse-3164-buggyday.conf | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuites/parse-3164-buggyday.conf b/tests/testsuites/parse-3164-buggyday.conf new file mode 100644 index 00000000..937f423a --- /dev/null +++ b/tests/testsuites/parse-3164-buggyday.conf @@ -0,0 +1,8 @@ +$ModLoad ../plugins/omstdout/.libs/omstdout +$IncludeConfig nettest.input.conf # This picks the to be tested input from the test driver! + +$ErrorMessagesToStderr off + +# use a special format that we can easily parse in expect +$template expect,"%PRI%,%syslogfacility-text%,%syslogseverity-text%,%timestamp:::date-rfc3164-buggyday%,%hostname%,%programname%,%syslogtag%,%msg%\n" +*.* :omstdout:;expect |