From c3f30fa797eb6f86b496b2eb8d6341f9acbb3e9c Mon Sep 17 00:00:00 2001 From: Mateusz Wykurz Date: Thu, 21 Nov 2024 09:25:18 -0700 Subject: [PATCH] Display event spans only with -vvv (TRACE) log verbosity --- common/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/lib.rs b/common/src/lib.rs index 9891694..9eefcd4 100644 --- a/common/src/lib.rs +++ b/common/src/lib.rs @@ -396,7 +396,7 @@ where let fmt_layer = tracing_subscriber::fmt::layer() .with_target(true) .with_line_number(true) - .with_span_events(if verbose > 1 { + .with_span_events(if verbose > 2 { FmtSpan::NEW | FmtSpan::CLOSE } else { FmtSpan::NONE