From b523e386b71c7476d7659ea405357fdfdbc346c8 Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Wed, 21 Oct 2026 21:42:33 +0000 Subject: [PATCH] Don't log span creation in systemd log style The systemd log style printed a line for every INFO span created, including zbus's internal spans, which flooded the log with D-Bus handshake details on start up. AI-generated: everything Signed-off-by: Thanos Makatos --- src/main.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index d276d99e..06aaccb9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,7 +17,6 @@ use io_thread_controller::{ }; use thiserror::Error; use tracing::{debug, info, instrument}; -use tracing_subscriber::fmt::format::FmtSpan; #[derive(Error, Debug)] enum IoThreadControllerError { @@ -189,7 +188,6 @@ fn init_logging(filter: &str, style: LogStyle) { .with_target(true) .without_time() .with_env_filter(env_filter) - .with_span_events(FmtSpan::NEW) // FIXME elsewhere .finish(); let _ = tracing::subscriber::set_global_default(subscriber); }