Skip to content

Commit

Permalink
Improve formatter
Browse files Browse the repository at this point in the history
- Don't show thread IDs
- Include the span list
- Only show NEW and CLOSE span events
  • Loading branch information
nficca committed Sep 20, 2024
1 parent 691da8d commit d08480a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/debug.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,7 @@ impl Config {
tracing_subscriber::fmt::layer()
.json()
.flatten_event(true)
.with_thread_ids(true)
.with_span_list(false)
.with_span_events(FmtSpan::ACTIVE)
.with_span_events(FmtSpan::NEW | FmtSpan::CLOSE)
.with_writer(sink),
);

Expand Down

0 comments on commit d08480a

Please sign in to comment.