From 2477cbdbee05b0195668226f73322260e46c0518 Mon Sep 17 00:00:00 2001 From: Nic Ficca Date: Thu, 19 Sep 2024 15:44:26 -0400 Subject: [PATCH] [ANE-1027] Reduce broker trace file size --- src/debug.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/debug.rs b/src/debug.rs index 5cbcdd4..ff202e9 100644 --- a/src/debug.rs +++ b/src/debug.rs @@ -140,7 +140,10 @@ impl Config { .with( tracing_subscriber::fmt::layer() .json() - .with_span_events(FmtSpan::FULL) + .flatten_event(true) + .with_thread_ids(true) + .with_span_list(false) + .with_span_events(FmtSpan::ACTIVE) .with_writer(sink), );