chore: make test output less spammy

This commit is contained in:
Ilya Zlobintsev
2025-12-23 15:32:50 +02:00
parent 3222deea56
commit dcb65b7c1a
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -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");
}
}
+3 -1
View File
@@ -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();
});
}