Update tracing
directives on runtime
#3564
Labels
O: new-feature
Objective: cause to add a new feature or support
O: usability
Objective: cause to improve the user experience (UX) and ease using the product
Summary
Currently in order to change the log level of Hermes, the instance needs to be restarted.
tracing
has areload_handle
allowing directive updates for the logs. https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/fmt/struct.SubscriberBuilder.html#method.with_filter_reloadingProposal
Set up an endpoint which listens to
tracing
directives, https://docs.rs/tracing-subscriber/0.3.17/tracing_subscriber/filter/struct.EnvFilter.html#directives, and update the logs displayed.Add some CLIs to facilitate updating the
tracing
directives.For Admin Use
The text was updated successfully, but these errors were encountered: