cli: Log to stderr instead of stdout

Fixes pipe issues.
This commit is contained in:
Robin Avery 2024-03-01 00:17:17 -05:00
parent 5cfd04fd4f
commit c39ba135ca
No known key found for this signature in database
GPG Key ID: 633B2D5AB640375C
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ fn main() {
let format =
tracing_subscriber::fmt::format().with_ansi(use_colors).with_target(false).without_time();
let builder = tracing_subscriber::fmt().event_format(format);
let builder = tracing_subscriber::fmt().event_format(format).with_writer(std::io::stderr);
if let Some(level) = args.log_level {
builder
.with_max_level(match level {