Is it possible to disable rocket logs completely? #2897
-
I am trying to use rocket in my project as a http server component, and I would like to log only events that happened in my application level, instead of the framework. I have set |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Assuming you're using a logger other than the rocket default, you will need to explicitly disable the logs rocket generates. This can be done with |
Beta Was this translation helpful? Give feedback.
You'll need to look into the logger you're using.
env_logger
supports configuring these filters in the code itself as well (when you create the logger), and I believe the tracing crates do as well.