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

Chapter 4 - env_logger default format change causes difference from book #188

Open
louy2 opened this issue Feb 25, 2023 · 0 comments
Open

Comments

@louy2
Copy link

louy2 commented Feb 25, 2023

env_logger changed the default formatter to show target instead of module_path in version 0.9.0, which has caused the trace-level log showing the entering and exiting of spans to show

[.. TRACE tracing::span::active] -> Adding a new subscriber.

instead of

[.. TRACE zero2prod] -> Adding a new subscriber.

I probably should not have spent so much time finding the cause of this issue but here I am lol, might as well write it down for reference.

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

No branches or pull requests

1 participant