Skip to content

Commit

Permalink
Log to stderr (#57)
Browse files Browse the repository at this point in the history
Logging to stdout breaks sourcing!
  • Loading branch information
9999years authored Mar 15, 2024
1 parent 86ab89b commit 456eb01
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ fn install_tracing(filter_directives: &str) -> eyre::Result<()> {
let env_filter = tracing_subscriber::EnvFilter::try_new(filter_directives)?;

let fmt_layer = tracing_subscriber::fmt::layer()
.with_writer(std::io::stderr)
.without_time()
.with_filter(env_filter);

Expand Down

0 comments on commit 456eb01

Please sign in to comment.