🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2024-09-29 23:42:41.0 +04:00:00
committer Jordan Doyle <jordan@doyle.la> 2024-09-29 23:42:41.0 +04:00:00
commit
ca77021c2499dcfd6d39c5abfed181abf9343f0c [patch]
tree
001c04abc91c8e6da9bbfe7216d69d4a711774cc
parent
1b34a74891423e118c567368c95b7e04f3b9ca63
download
ca77021c2499dcfd6d39c5abfed181abf9343f0c.tar.gz

Stop default logging of tokio trace events



Diff

 src/main.rs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/main.rs b/src/main.rs
index e55d0d1..16ef521 100644
--- a/src/main.rs
+++ a/src/main.rs
@@ -128,9 +128,7 @@
    #[cfg(debug_assertions)]
    let logger_layer = logger_layer.pretty();

    let env_filter = EnvFilter::from_default_env()
        .add_directive("tokio=trace".parse()?)
        .add_directive("runtime=trace".parse()?);
    let env_filter = EnvFilter::from_default_env();

    tracing_subscriber::registry()
        .with(env_filter)