Skip to content

Commit

Permalink
Merge pull request #4387 from wasmerio/remove-unnecessary-log-enter
Browse files Browse the repository at this point in the history
fix: Don't log the `FmtSpan::ENTER` event because it generates unnecessary logs
  • Loading branch information
Michael Bryan authored Jan 4, 2024
2 parents 23cb8ce + 64dc508 commit 743bee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl Output {
pub fn initialize_logging(&self) {
let fmt_layer = fmt::layer()
.with_target(true)
.with_span_events(fmt::format::FmtSpan::CLOSE | fmt::format::FmtSpan::ENTER)
.with_span_events(fmt::format::FmtSpan::CLOSE)
.with_ansi(self.should_emit_colors())
.with_thread_ids(true)
.with_writer(std::io::stderr)
Expand Down

0 comments on commit 743bee2

Please sign in to comment.