1e4f09c860
- Why I did it Move frr logs from syslog from the directory /var/log/quagga/.log to /var/log/frr/log - How I did it Updated the rsyslog config files. - How to verify it Verified the logs come into the file zebra.log and bgpd.log in the DIR /var/log/frr/log
25 lines
442 B
Plaintext
25 lines
442 B
Plaintext
## Quagga rules
|
|
|
|
if re_match($programname, "bgp[0-9]*#(frr|zebra|staticd|watchfrr)") then {
|
|
/var/log/frr/zebra.log
|
|
stop
|
|
}
|
|
|
|
if re_match($programname, "bgp[0-9]*#bgpd") then {
|
|
/var/log/frr/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
|
|
}
|