A very simple example showing how to use the reload
function of the Rust tracing
crate to change log directives at runtime.
Just to make things a little bit fancier, we set up a gRPC interface and server using tonic
.
This code has been originally written as a companion project for the talk "Taming the log storm: a systematic approach to effective logging", at GDG DevFest Pisa 2024.