From 72a79f71dcd7e6fd512a7a1d4f5b3eca3965de97 Mon Sep 17 00:00:00 2001 From: Marek Kaput Date: Thu, 24 Oct 2024 09:07:41 +0200 Subject: [PATCH] LS: Stop spamming about tracing spans in logs commit-id:9798ab5d --- crates/cairo-lang-language-server/src/lib.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/cairo-lang-language-server/src/lib.rs b/crates/cairo-lang-language-server/src/lib.rs index 4fbcf51baf8..3104d9b381a 100644 --- a/crates/cairo-lang-language-server/src/lib.rs +++ b/crates/cairo-lang-language-server/src/lib.rs @@ -154,7 +154,6 @@ fn init_logging() -> Option { use tracing_chrome::ChromeLayerBuilder; use tracing_subscriber::filter::{EnvFilter, LevelFilter}; use tracing_subscriber::fmt::Layer; - use tracing_subscriber::fmt::format::FmtSpan; use tracing_subscriber::fmt::time::Uptime; use tracing_subscriber::prelude::*; @@ -164,7 +163,6 @@ fn init_logging() -> Option { .with_writer(io::stderr) .with_timer(Uptime::default()) .with_ansi(io::stderr().is_terminal()) - .with_span_events(FmtSpan::CLOSE) .with_filter( EnvFilter::builder() .with_default_directive(LevelFilter::WARN.into())