Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

decoded UPDATE message followed by JSON not appearing in log traces #1119

Open
annaisesc opened this issue Oct 9, 2022 · 1 comment
Open
Assignees
Labels

Comments

@annaisesc
Copy link

** Question **

Not sure if this is a bug, kind of a question but I'm not able to label it as "question" (sorry about that)

When I'm on DEBUG mode configured I used to see a log trace with "decoded UPDATE" followed by the decoded JSON from the BGP message. Now in master I lost that trace, when debuging I found that, if I'm correct, the affected line is here.

I've tried to replace locally logfunc.debug(lazyformat('decoded UPDATE', '', parsed), 'parser') by log.debug(f"decoded UPDATE {parsed('')}"), 'parser') and I can now see the trace in the logs.

Is there any extra config that is needed now in order to see that log trace, a part from the debug mode?

thank you in advanced :)

@thomas-mangin
Copy link
Member

Answering quickly without checking, this may work: env exabgp.log.level=DEBUG ./sbin/exabgp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants