$IncludeConfig diag-common.conf

lookup_table(name="xlate" file="xlate.lkp_tbl")

template(name="outfmt" type="string" string="- %msg% %$.lkp%\n")

set $.lkp = lookup("xlate", $msg);

if ($msg == " msgnum:00000002:") then {
  reload_lookup_table("xlate");
}

action(type="omfile" file="./rsyslog.out.log" template="outfmt")
