Open lanklaas opened 1 year ago
If you're using something like tracing with tracing_subscriber, you can filter the output. https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/filter/struct.EnvFilter.html
These messages should be logged at a debug level, not info IMO.
Hello,
When using the bb8 connection pool on a service that is not used frequently, a bunch of connections get opened and closed. This causes my log to be polluted with a lot of connection info messages like below:
I do not want to filter them out on a global level, but would rather prefer them to be debug events or if the info level is important, then maybe adding a feature flag to set it to debug?
I would be happy to send a PR for this