You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your great work of logforth, I used this into the storage service.
if logforth is used in the production environment, sometimes we want to temporarily adjust the log level to print out some logs for digging. Is this possible to support this in logforth?
If you'd like to use more dynamic rules, you can use the CustomFilter for define your rules, and even with a global state to check so that you can modify it at runtime.
I'm glad to hear your concrete use case and see if we can integrate it at the upstream.
Activity
tisonkun commentedon Jan 3, 2025
For this purpose, in our use case, we typically use the
RUST_LOGenv to enable debug level logs, like:This follows the most common used env_filter
If you'd like to use more dynamic rules, you can use the CustomFilter for define your rules, and even with a global state to check so that you can modify it at runtime.
I'm glad to hear your concrete use case and see if we can integrate it at the upstream.