diff --git a/proxy/src/logging.rs b/proxy/src/logging.rs index f28f8c4b7e..2524e8c38b 100644 --- a/proxy/src/logging.rs +++ b/proxy/src/logging.rs @@ -28,7 +28,7 @@ pub async fn init() -> anyhow::Result { let reg = tracing_subscriber::registry(); - #[cfg(feature = "tokio-console")] + #[cfg(all(tokio_unstable, feature = "tokio-console"))] let reg = reg.with(console_subscriber::spawn()); reg.with(env_filter)