From 038d2a84e85a13444f0c4578a7d7cdf33d8a8692 Mon Sep 17 00:00:00 2001 From: Oliver N Date: Tue, 6 Feb 2024 15:14:50 +0700 Subject: [PATCH] Respect RUST_LOG when started in terminal (#7425) Release Notes: - N/A --- crates/zed/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/zed/src/main.rs b/crates/zed/src/main.rs index ee17b16e4c..136ebe2642 100644 --- a/crates/zed/src/main.rs +++ b/crates/zed/src/main.rs @@ -471,6 +471,7 @@ fn init_paths() { fn init_logger() { if stdout_is_a_pty() { Builder::new() + .parse_default_env() .format(|buf, record| { use env_logger::fmt::Color;