From 9654b4a02a3835b845fb17dae30b2cde60001eb4 Mon Sep 17 00:00:00 2001 From: Callum Dunster Date: Mon, 21 Oct 2024 19:05:04 +0200 Subject: [PATCH] feat: set tracing to output to stderr --- crates/lair_keystore/src/bin/lair-keystore-bin/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/lair_keystore/src/bin/lair-keystore-bin/main.rs b/crates/lair_keystore/src/bin/lair-keystore-bin/main.rs index 2589789..deaf99a 100644 --- a/crates/lair_keystore/src/bin/lair-keystore-bin/main.rs +++ b/crates/lair_keystore/src/bin/lair-keystore-bin/main.rs @@ -195,6 +195,7 @@ async fn exec() -> LairResult<()> { tracing::subscriber::set_global_default( tracing_subscriber::FmtSubscriber::builder() .with_env_filter(tracing_subscriber::EnvFilter::from_default_env()) + .with_writer(std::io::stderr) .compact() .finish(), )