Skip to content

Commit

Permalink
Display event spans only with -vvv (TRACE) log verbosity
Browse files Browse the repository at this point in the history
  • Loading branch information
wykurz committed Nov 21, 2024
1 parent 649a629 commit c3f30fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3f30fa

Please sign in to comment.