mirror of
https://github.com/ilya-zlobintsev/LACT.git
synced 2026-08-19 01:14:43 -05:00
chore: make test output less spammy
This commit is contained in:
@@ -238,6 +238,7 @@ pub(crate) fn init_controller(
|
||||
Err(err) => error!("could not initialize Nvidia controller: {err:#}"),
|
||||
}
|
||||
} else {
|
||||
#[cfg(not(test))]
|
||||
error!("NVML is missing, Nvidia controls will not be available");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,9 @@ use tokio::task::LocalSet;
|
||||
fn init_tracing() {
|
||||
static TRACING_LOCK: OnceLock<()> = OnceLock::new();
|
||||
TRACING_LOCK.get_or_init(|| {
|
||||
tracing_subscriber::fmt().init();
|
||||
tracing_subscriber::fmt()
|
||||
.with_env_filter("easy_fuser=warn,info")
|
||||
.init();
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user