blob: 570638d9d85881012bb606539abb58708dbb49e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# test is a test config that does not include the timestamp. This is necessary to
# test some illformed messages that do not contain a date. In that case, the system's
# current timestamp is used, and that of course is a bit hard to compare against
# a fixed template. So the solution in this case is to use a format that does
# not contain any timestamp. Maybe not optimal, but it works ;)
# rgerhards, 2010-03-19
$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
$template fmt,"%PRI%,%syslogfacility-text%,%syslogseverity-text%,%hostname%,%programname%,%syslogtag%,%msg%\n"
*.* :omstdout:;fmt
|