Use RA_LOG in tests

This commit is contained in:
Aleksey Kladov 2021-01-28 16:49:07 +03:00
parent 7e4cd6b4e4
commit a44f6c18fb

View file

@ -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);
});