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

Tokio console seems to enable tracing's logging feature #371

Open
kaimast opened this issue Aug 23, 2022 · 1 comment
Open

Tokio console seems to enable tracing's logging feature #371

kaimast opened this issue Aug 23, 2022 · 1 comment
Labels
C-subscriber Crate: console-subscriber. S-bug Severity: bug

Comments

@kaimast
Copy link

kaimast commented Aug 23, 2022

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

@kaimast kaimast added the S-bug Severity: bug label Aug 23, 2022
@yerke
Copy link
Contributor

yerke commented Feb 24, 2024

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.

@hi-rustin hi-rustin added the C-subscriber Crate: console-subscriber. label Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-subscriber Crate: console-subscriber. S-bug Severity: bug
Projects
None yet
Development

No branches or pull requests

3 participants