fix excessive logging

This commit is contained in:
griffi-gh 2023-01-30 04:32:33 +01:00
parent 1f8c6ea223
commit ab7c181345

View file

@ -7,7 +7,7 @@ use std::io::Write;
pub fn init() { pub fn init() {
let mut env = Env::default(); let mut env = Env::default();
if cfg!(debug_assertions) { if cfg!(debug_assertions) {
env = env.filter_or("RUST_LOG", "trace"); env = env.filter_or("RUST_LOG", "trace,gilrs=warn,rusty_xinput=warn");
} }
Builder::from_env(env) Builder::from_env(env)
.format(|buf, record| { .format(|buf, record| {