summaryrefslogtreecommitdiffstats
path: root/tests/testsuites/parse1udp.conf
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-06-19 11:30:57 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-06-19 11:30:57 +0200
commit77c992e2155420702460e835ce2d561cf2d10fcb (patch)
treef8349fbffac3264b8233c55499f285d690637e57 /tests/testsuites/parse1udp.conf
parentdc603a3dbf0bc0654830e7830a07816c23c85ce5 (diff)
downloadrsyslog-77c992e2155420702460e835ce2d561cf2d10fcb.tar.gz
rsyslog-77c992e2155420702460e835ce2d561cf2d10fcb.tar.xz
rsyslog-77c992e2155420702460e835ce2d561cf2d10fcb.zip
fully optimized datetime module and enhanced test suite
tests for the various timestamp formats have been added
Diffstat (limited to 'tests/testsuites/parse1udp.conf')
-rw-r--r--tests/testsuites/parse1udp.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/testsuites/parse1udp.conf b/tests/testsuites/parse1udp.conf
new file mode 100644
index 00000000..0fb7d16d
--- /dev/null
+++ b/tests/testsuites/parse1udp.conf
@@ -0,0 +1,9 @@
+$ModLoad ../plugins/omstdout/.libs/omstdout
+$ModLoad ../plugins/imudp/.libs/imudp
+$UDPServerRun 12514
+
+$ErrorMessagesToStderr off
+
+# use a special format that we can easily parse in expect
+$template expect,"%PRI%,%syslogfacility-text%,%syslogseverity-text%,%timestamp%,%hostname%,%programname%,%syslogtag%,%msg%\n"
+*.* :omstdout:;expect