Skip to content

Commit

Permalink
Keep using syslog for bmp since no large output. (sonic-net#20896)
Browse files Browse the repository at this point in the history
Why I did it
Keep using syslog for bmp since no large output.

How I did it
Revert previous bmp log change

How to verify it
revert change, pending verification pass.
  • Loading branch information
FengPan-Frank authored and VladimirKuk committed Jan 21, 2025
1 parent 268305b commit 3a9bfd3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion files/image_config/logrotate/rsyslog.j2
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
/var/log/teamd.log
/var/log/telemetry.log
/var/log/gnmi.log
/var/log/bmp.log
/var/log/frr/bgpd.log
/var/log/frr/zebra.log
/var/log/swss/sairedis*.rec
Expand Down
6 changes: 0 additions & 6 deletions files/image_config/rsyslog/rsyslog.d/00-sonic.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ if $msg startswith " gnmi-native" then {
stop
}

## bmp rules
if $msg startswith " bmp" then {
/var/log/bmp.log
stop
}

## telemetry rules
if $msg startswith " telemetry" or ($msg startswith " dialout" )then {
/var/log/telemetry.log
Expand Down

0 comments on commit 3a9bfd3

Please sign in to comment.