From 47789131ce51c6c3733430b9ffd9ff9078bddb24 Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Thu, 1 Oct 2026 08:21:47 +0000 Subject: [PATCH] Print loaded configuration on start This helps debugging. Signed-off-by: Thanos Makatos --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index adef02b..73770f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -16,7 +16,7 @@ use io_thread_controller::{ util::Path, }; use thiserror::Error; -use tracing::instrument; +use tracing::{debug, instrument}; use tracing_subscriber::fmt::format::FmtSpan; #[derive(Error, Debug)] @@ -125,6 +125,7 @@ async fn main() -> Result<(), IoThreadControllerError> { } let mut cfg = load_daemon_config(&cli.config)?; + debug!("loaded configuration {}", &cli.config); if cli.print_status_header { cfg.print_status_header = true; }