-
Notifications
You must be signed in to change notification settings - Fork 139
Closed
Labels
Description
We have standardized on log
as our logging library. The pretty_env_logger
(or env_logger
for that matter) logs to stderr, but the output file descriptor can be changed at initialization time to stdout
. cargo test
is supposed to capture all writes to stdout
to avoid spam (cargo test -- --nocapture
disables this behavior), but this is currently broken (rust-lang/rust#42474), in the context of multi-threaded code.
It would be nice to have logs that can be enabled/disabled for the tests, if only for debugging.