Skip to content

Commit

Permalink
feat: write all logs to stderr (vs stdout)
Browse files Browse the repository at this point in the history
Currently, all logs are being written to stdout. This breaks convention for CLI apps that might want to use stdout for, well, application output (not diagnostic stuff).
  • Loading branch information
imikushin committed Dec 9, 2024
1 parent aa5d953 commit dd6c83e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/core/machine/src/utils/logger.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ pub fn setup_logger() {
.with_thread_names(false)
.with_env_filter(env_filter)
.with_span_events(FmtSpan::CLOSE)
.with_writer(std::io::stderr)
.finish()
.init();
}
Expand Down

0 comments on commit dd6c83e

Please sign in to comment.