From ca77021c2499dcfd6d39c5abfed181abf9343f0c Mon Sep 17 00:00:00 2001 From: Jordan Doyle Date: Sun, 29 Sep 2024 23:42:41 +0400 Subject: [PATCH] Stop default logging of tokio trace events --- 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) -- rgit 0.1.3