# test with poller-thread-processing disabled
# singh.janmejay, 2015-10-16
$MaxMessageSize 10k
$IncludeConfig diag-common.conf
template(name="outfmt" type="string" string="%msg:F,58:2%,%msg:F,58:3%,%msg:F,58:4%\n")

module(load="../plugins/imptcp/.libs/imptcp" threads="32" processOnPoller="off")
input(type="imptcp" port="13514")

if (prifilt("local0.*")) then {
   action(type="omfile" file="./rsyslog.out.log" template="outfmt")
}
