Browse Source

Changed order of the default logging environment variable

develop
Drew Short 6 years ago
parent
commit
e44388501d
  1. 2
      src/main.rs

2
src/main.rs

@ -31,7 +31,7 @@ lazy_static! {
fn main() {
match std::env::var("RUST_LOG") {
Ok(_) => (),
Err(_) => std::env::set_var("RUST_LOG", "error,actix_web=info,rsddns=info")
Err(_) => std::env::set_var("RUST_LOG", "error,rsddns=info,actix_web=info")
}
env_logger::init();

Loading…
Cancel
Save