Skip to content

Commit

Permalink
LS: Stop spamming about tracing spans in logs (#6515)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkaput authored and integraledelebesgue committed Oct 25, 2024
1 parent d41ebec commit f55254f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions crates/cairo-lang-language-server/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ fn init_logging() -> Option<impl Drop> {
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::*;

Expand All @@ -164,7 +163,6 @@ fn init_logging() -> Option<impl Drop> {
.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())
Expand Down

0 comments on commit f55254f

Please sign in to comment.