rsyslog/tests/testsuites/cee_diskqueue.conf
Rainer Gerhards 5155f67d62 bugfix: small memory leak in imdiag
This does not have any practical problems associated with it, EXCECPT
that it caused almost all valgrind testbench tests to fail.
2012-09-19 19:25:01 +02:00

10 lines
306 B
Plaintext

$IncludeConfig diag-common.conf
global(workDirectory="/tmp")
template(name="outfmt" type="string" string="%$!usr!msg:F,58:2%\n")
set $!usr!msg = $msg;
if $msg contains 'msgnum' then
action(type="omfile" file="./rsyslog.out.log" template="outfmt"
queue.type="disk" queue.filename="rsyslog-act1")