diff --git a/src/main.rs b/src/main.rs index 1dd99ca..dfa6baa 100644 --- a/src/main.rs +++ b/src/main.rs @@ -171,11 +171,7 @@ fn main() -> anyhow::Result<()> { let registry = tracing_subscriber::registry(); #[cfg(feature = "tokio_console")] - let registry = registry.with( - console_subscriber::ConsoleLayer::builder() - .retention(Duration::from_secs(60)) - .spawn(), - ); + let registry = registry.with(console_subscriber::spawn()); registry .with(