mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-19 04:30:43 +01:00
14 lines
341 B
Plaintext
14 lines
341 B
Plaintext
$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", "reload_failed");
|
|
}
|
|
|
|
action(type="omfile" file="./rsyslog.out.log" template="outfmt")
|