Skip to content

Minor logging tweaks#7242

Merged
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:log-tweaks
Oct 16, 2023
Merged

Minor logging tweaks#7242
alexcrichton merged 1 commit into
bytecodealliance:mainfrom
alexcrichton:log-tweaks

Conversation

@alexcrichton
Copy link
Copy Markdown
Member

Some things I noticed from #7239 which are very much not critical but I figure might be nice-to-haves:

  • Move the logging configuration to the wasmtime-cli-flags crate with the other logging configuration to keep it in one place.
  • Remove pretty_env_logger since tracing-subscriber probably supplants it.
  • Don't explicitly inherit env vars in tests since that happens automatically with Command.

Some things I noticed from bytecodealliance#7239 which are very much not critical but I
figure might be nice-to-haves:

* Move the logging configuration to the `wasmtime-cli-flags` crate with
  the other logging configuration to keep it in one place.
* Remove `pretty_env_logger` since `tracing-subscriber` probably
  supplants it.
* Don't explicitly inherit env vars in tests since that happens
  automatically with `Command`.
@alexcrichton alexcrichton requested review from a team as code owners October 14, 2023 03:50
@alexcrichton alexcrichton requested review from fitzgen and removed request for a team October 14, 2023 03:50
@alexcrichton alexcrichton added this pull request to the merge queue Oct 16, 2023
Merged via the queue into bytecodealliance:main with commit 079ddd4 Oct 16, 2023
@alexcrichton alexcrichton deleted the log-tweaks branch October 16, 2023 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants