Skip to content

Commit

Permalink
Stop default logging of tokio trace events
Browse files Browse the repository at this point in the history
  • Loading branch information
w4 committed Sep 29, 2024
1 parent 1b34a74 commit ca77021
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,7 @@ async fn main() -> Result<(), anyhow::Error> {
#[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)
Expand Down

0 comments on commit ca77021

Please sign in to comment.