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

debug! to trace! #166

Open
evensolberg opened this issue Oct 15, 2021 · 1 comment
Open

debug! to trace! #166

evensolberg opened this issue Oct 15, 2021 · 1 comment

Comments

@evensolberg
Copy link

evensolberg commented Oct 15, 2021

I am using this crate indirectly through the tcx crate, and when I try to debug! things in my application, I also get debug messages from this crate, which floods my log.

I'm happy to receive the logs from this crate at a trace! level, but I think debug! may interfere too much. Would it be possible to either lower the logging level from this crate to trace!, or in some way remove the logging information when the crate is being used elsewhere?

Come to think of it, I could probably filter on the module in my own application.

@evensolberg
Copy link
Author

OK, I was able to filter on the module using filter_module("serde_xml_rs::de", LevelFilter::Off) ... My request to lower the logging level still stands, though. 😄

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