From 92e01a848e17f741965ffd9e807c2435862f18b0 Mon Sep 17 00:00:00 2001 From: Henrik Friedrichsen Date: Mon, 18 Mar 2019 15:54:41 +0100 Subject: [PATCH] don't overwrite RUST_LOG/RUST_BACKTRACE env variables --- src/main.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/main.rs b/src/main.rs index e59d022..ace5fd8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -82,9 +82,6 @@ fn init_logger(content: TextContent, write_to_file: bool) { } fn main() { - std::env::set_var("RUST_LOG", "ncspot=trace"); - std::env::set_var("RUST_BACKTRACE", "full"); - // Things here may cause the process to abort; we must do them before creating curses windows // otherwise the error message will not be seen by a user let path = match env::var_os("HOME") {