xhcid: set logging filter to info

This commit is contained in:
Jeremy Soller
2022-04-13 09:05:26 -06:00
parent 8db1781146
commit a3a76284cb
+2 -2
View File
@@ -52,7 +52,7 @@ fn setup_logging() -> Option<&'static RedoxLogger> {
match OutputBuilder::in_redox_logging_scheme("usb", "host", "xhci.log") {
Ok(b) => logger = logger.with_output(
// TODO: Add a configuration file for this
b.with_filter(log::LevelFilter::Trace)
b.with_filter(log::LevelFilter::Info)
.flush_on_newline(true)
.build()
),
@@ -62,7 +62,7 @@ fn setup_logging() -> Option<&'static RedoxLogger> {
#[cfg(target_os = "redox")]
match OutputBuilder::in_redox_logging_scheme("usb", "host", "xhci.ansi.log") {
Ok(b) => logger = logger.with_output(
b.with_filter(log::LevelFilter::Trace)
b.with_filter(log::LevelFilter::Info)
.with_ansi_escape_codes()
.flush_on_newline(true)
.build()