-
Hi, sorry if this has been asked before, but is it possible to silence logs from a single crate? I am using hyper, and it's spamming the DEBUG channel, which I would like to use for my application. |
Beta Was this translation helpful? Give feedback.
Answered by
hawkw
Nov 28, 2021
Replies: 1 comment 1 reply
-
You can do this using the Hope that helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
jafioti
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can do this using the
EnvFilter
layer fromtracing-subscriber
, or its lighter-weight cousin, theTargets
layer. See here for an overview of how to use filter layers withtracing-subscriber
.Hope that helps!