From 508a2ee4de0b1e8479a3809599e613237569b238 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Fri, 2 Dec 2022 08:24:54 -0700 Subject: [PATCH] xhci: default to debug logging --- xhcid/src/main.rs | 2 +- xhcid/src/xhci/irq_reactor.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xhcid/src/main.rs b/xhcid/src/main.rs index e042774a51..b9c96592bb 100644 --- a/xhcid/src/main.rs +++ b/xhcid/src/main.rs @@ -42,7 +42,7 @@ fn setup_logging(name: &str) -> Option<&'static RedoxLogger> { let mut logger = RedoxLogger::new() .with_output( OutputBuilder::stderr() - .with_filter(log::LevelFilter::Info) // limit global output to important info + .with_filter(log::LevelFilter::Debug) // limit global output to important info .with_ansi_escape_codes() .flush_on_newline(true) .build() diff --git a/xhcid/src/xhci/irq_reactor.rs b/xhcid/src/xhci/irq_reactor.rs index 97f4585fd3..152a05bc9d 100644 --- a/xhcid/src/xhci/irq_reactor.rs +++ b/xhcid/src/xhci/irq_reactor.rs @@ -162,7 +162,7 @@ impl IrqReactor { return Ok(None); } - trace!("IRQ reactor received an IRQ"); + debug!("IRQ reactor received an IRQ"); let _ = self.irq_file.as_mut().unwrap().write(&buffer);