Skip to content

Commit 456eb01

Browse files
authored
Log to stderr (#57)
Logging to stdout breaks sourcing!
1 parent 86ab89b commit 456eb01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main.rs

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ fn install_tracing(filter_directives: &str) -> eyre::Result<()> {
184184
let env_filter = tracing_subscriber::EnvFilter::try_new(filter_directives)?;
185185

186186
let fmt_layer = tracing_subscriber::fmt::layer()
187+
.with_writer(std::io::stderr)
187188
.without_time()
188189
.with_filter(env_filter);
189190

0 commit comments

Comments
 (0)