From b6321aa7647e6a2784d9560105d28e7670afa95e Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 15 Feb 2023 19:34:05 -0700 Subject: [PATCH] nvme: logging adjustments --- nvmed/src/main.rs | 2 +- nvmed/src/nvme/identify.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nvmed/src/main.rs b/nvmed/src/main.rs index 12342367cf..f88a1db9e9 100644 --- a/nvmed/src/main.rs +++ b/nvmed/src/main.rs @@ -312,7 +312,7 @@ fn daemon(daemon: redox_daemon::Daemon) -> ! { let bar_size = pci_config.func.bar_sizes[0]; let irq = pci_config.func.legacy_interrupt_line; - log::info!("NVME PCI CONFIG: {:?}", pci_config); + log::debug!("NVME PCI CONFIG: {:?}", pci_config); let allocated_bars = AllocatedBars::default(); diff --git a/nvmed/src/nvme/identify.rs b/nvmed/src/nvme/identify.rs index ea504663d4..4d9f1dfc51 100644 --- a/nvmed/src/nvme/identify.rs +++ b/nvmed/src/nvme/identify.rs @@ -167,7 +167,7 @@ impl Nvme { let serial = serial_cow.trim(); let firmware = fw_cow.trim(); - println!( + log::info!( " - Model: {} Serial: {} Firmware: {}", model, serial, firmware, );