f3ca7c422f
Previously use / to separate container name and program name. However, in rsyslogd: Precisely, the programname is terminated by either (whichever occurs first): end of tag nonprintable character ‘:’ ‘[‘ ‘/’ The above definition has been taken from the FreeBSD syslogd sources. Signed-off-by: Guohan Lu <gulv@microsoft.com>
28 lines
476 B
Plaintext
28 lines
476 B
Plaintext
## Quagga rules
|
|
|
|
if $programname == ["bgp#quagga",
|
|
"bgp#watchquagga",
|
|
"bgp#zebra"]
|
|
then {
|
|
/var/log/quagga/zebra.log
|
|
stop
|
|
}
|
|
|
|
if $programname == "bgp#bgpd" then {
|
|
/var/log/quagga/bgpd.log
|
|
stop
|
|
}
|
|
|
|
## Teamd rules
|
|
|
|
if $programname contains "teamd_" then {
|
|
/var/log/teamd.log
|
|
stop
|
|
}
|
|
|
|
## telemetry rules
|
|
if $msg startswith " telemetry" or ($msg startswith " dialout" )then {
|
|
/var/log/telemetry.log
|
|
stop
|
|
}
|