Skip to content

Conversation

@rastislavs
Copy link
Contributor

Do not provide peer-specific logger when creating adj table, but use parent logger instead.
Peer-specific logger contains "Topic" and "Key" log fields, which are also set when logging table events, but with different values. This is unnecessary and can be even deemed invalid in more strict logging setups.

(This was detected by the CI in Cilium, and seems to be the only occurrence of log fields overwrite in the GoBGP codebase)

Do not provide peer-specific logger when creating adj table,
but use parent logger instead.
Peer-specific logger contains "Topic" and "Key" log fields,
which are also set when logging table events, but with
different values.
This is unnecessary and can be even deemed invalid in
more strict logging setups.

Signed-off-by: Rastislav Szabo <[email protected]>
@fujita
Copy link
Member

fujita commented Nov 21, 2025

make sense, pushed. Thanks!

@fujita fujita closed this Nov 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants