From 70f7f2d2da5efd8265b0bc3a248ff025f894c831 Mon Sep 17 00:00:00 2001 From: Mag Mell Date: Sun, 21 Jul 2024 20:53:37 +0800 Subject: [PATCH] theme_importer: Output logs to `stderr` (#14890) Will allow writing directly to a file without logging via `cargo run -p theme_importer -- /path/to/file` Release Notes: - N/A --- crates/theme_importer/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/theme_importer/src/main.rs b/crates/theme_importer/src/main.rs index 53a8c9643d..d92966ae24 100644 --- a/crates/theme_importer/src/main.rs +++ b/crates/theme_importer/src/main.rs @@ -106,7 +106,7 @@ fn main() -> Result<()> { TermLogger::init( LevelFilter::Trace, log_config, - TerminalMode::Mixed, + TerminalMode::Stderr, ColorChoice::Auto, ) .expect("could not initialize logger");