Tokio console seems to enable tracing's logging feature
Opened this issue · 1 comments
kaimast commented
What crate(s) in this repo are involved in the problem?
No response
What is the issue?
I noticed my project created a lot of logging output due to tracing. After some troubleshooting I noticed this only happens when linking against the console-subscriber
crate.
How can the bug be reproduced?
Have a project that links against the log
and console-subscriber
crates.
Logs, error output, etc
No response
Versions
├── console-subscriber v0.1.7
│ ├── console-api v0.4.0
Possible solution
My suspicion is that is caused by this line in tower
: https://github.com/tower-rs/tower/blob/aec7b8f417b101d57f85c7ede05275dd61a48597/tower/Cargo.toml#L49
Additional context
No response
Would you like to work on fixing this bug?
yes
yerke commented
I think this was fixed in tower-rs/tower#660. Unfortunately, latest published version of tower on crates.io (0.4.13) doesn't have that commit. But you can test it by pointing tower to repo directly in Cargo.toml.