don't overwrite RUST_LOG/RUST_BACKTRACE env variables

This commit is contained in:
Henrik Friedrichsen
2019-03-18 15:54:41 +01:00
parent e0d1d456f4
commit 92e01a848e

View File

@@ -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") {