-
Notifications
You must be signed in to change notification settings - Fork 731
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
Wrong log level in tracing macro warn #1929
Labels
Comments
Whoops, that definitely looks wrong! Would you be interested in opening a pull request to fix that? |
hawkw
added
crate/tracing
Related to the `tracing` crate
kind/bug
Something isn't working
labels
Feb 16, 2022
nicolaasg
pushed a commit
to nicolaasg/tracing
that referenced
this issue
Feb 16, 2022
hawkw
pushed a commit
that referenced
this issue
Feb 16, 2022
## Motivation I was scrolling through the code in `tracing/src/macros.rs` and noticed a possibly wrong log level in the `warn!` macro: https://github.com/tokio-rs/tracing/blob/4e65750b13721fee7a7ac05b053e1b9c3d21244f/tracing/src/macros.rs#L1698 ## Solution This branch changes the level to `Level::WARN` in the incorrect macro arm. Fixes: #1929 Co-authored-by: Nicolaas Geldenhuys <nicolaas.geldenhuys@cartrack.com>
hawkw
pushed a commit
that referenced
this issue
Feb 17, 2022
## Motivation I was scrolling through the code in `tracing/src/macros.rs` and noticed a possibly wrong log level in the `warn!` macro: https://github.com/tokio-rs/tracing/blob/4e65750b13721fee7a7ac05b053e1b9c3d21244f/tracing/src/macros.rs#L1698 ## Solution This branch changes the level to `Level::WARN` in the incorrect macro arm. Fixes: #1929 Co-authored-by: Nicolaas Geldenhuys <nicolaas.geldenhuys@cartrack.com>
hawkw
pushed a commit
that referenced
this issue
Feb 17, 2022
## Motivation I was scrolling through the code in `tracing/src/macros.rs` and noticed a possibly wrong log level in the `warn!` macro: https://github.com/tokio-rs/tracing/blob/4e65750b13721fee7a7ac05b053e1b9c3d21244f/tracing/src/macros.rs#L1698 ## Solution This branch changes the level to `Level::WARN` in the incorrect macro arm. Fixes: #1929 Co-authored-by: Nicolaas Geldenhuys <nicolaas.geldenhuys@cartrack.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
tracing/tracing/src/macros.rs
Line 1698 in 4e65750
I was scrolling through the code in tracing/src/macros.rs and noticed a possibly wrong log level in the warn macro.
The text was updated successfully, but these errors were encountered: