From a44f6c18fb8b87c9e8deb1ff878f2fef84912b3f Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Thu, 28 Jan 2021 16:49:07 +0300 Subject: Use RA_LOG in tests --- crates/rust-analyzer/tests/rust-analyzer/support.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/tests/rust-analyzer/support.rs b/crates/rust-analyzer/tests/rust-analyzer/support.rs index f59958e8d..4c4b994fe 100644 --- a/crates/rust-analyzer/tests/rust-analyzer/support.rs +++ b/crates/rust-analyzer/tests/rust-analyzer/support.rs @@ -64,7 +64,7 @@ impl<'a> Project<'a> { let tmp_dir = self.tmp_dir.unwrap_or_else(|| TestDir::new()); static INIT: Once = Once::new(); INIT.call_once(|| { - env_logger::builder().is_test(true).try_init().unwrap(); + env_logger::builder().is_test(true).parse_env("RA_LOG").try_init().unwrap(); profile::init_from(crate::PROFILE); }); -- cgit v1.2.3