From feac3d56ce7d9e530cd7f4d66059ac42645b0834 Mon Sep 17 00:00:00 2001 From: anouar kappitou Date: Sun, 14 Jun 2020 19:22:34 +0100 Subject: fix: replacing default RUST_LOG environement variable with starship specific one, to prevent interlacing (#1280) Co-authored-by: Kappitou Anouar --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 363080360..a91b9e106 100644 --- a/src/main.rs +++ b/src/main.rs @@ -23,7 +23,7 @@ use crate::module::ALL_MODULES; use clap::{App, AppSettings, Arg, Shell, SubCommand}; fn main() { - pretty_env_logger::init(); + pretty_env_logger::init_custom_env("STARSHIP_LOG"); let status_code_arg = Arg::with_name("status_code") .short("s") -- cgit v1.2.3