From e729d6a60bc20b817081b24504cc853d2755b64e Mon Sep 17 00:00:00 2001 From: Alex Zenla Date: Mon, 27 Oct 2025 15:44:29 -0400 Subject: [PATCH] feat(sprout): cleanup default logging --- src/drivers.rs | 2 -- src/main.rs | 5 ----- 2 files changed, 7 deletions(-) diff --git a/src/drivers.rs b/src/drivers.rs index cf02fd1..e58952d 100644 --- a/src/drivers.rs +++ b/src/drivers.rs @@ -33,8 +33,6 @@ fn load_driver(context: Rc, driver: &DriverDeclaration) -> Result // Push the path of the driver from the root. full_path.push_str(&context.stamp(&driver.path)); - info!("driver path: {}", full_path); - // Convert the path to a device path. let device_path = utils::text_to_device_path(&full_path)?; diff --git a/src/main.rs b/src/main.rs index 25b3700..501b24c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -13,7 +13,6 @@ use std::collections::BTreeMap; use std::ops::Deref; use std::time::Duration; use uefi::proto::device_path::LoadedImageDevicePath; -use uefi::proto::device_path::text::{AllowShortcuts, DisplayOnly}; /// actions: Code that can be configured and executed by Sprout. pub mod actions; @@ -78,10 +77,6 @@ fn run() -> Result<()> { >(uefi::boot::image_handle()) .context("unable to get loaded image device path")?; let loaded_image_path = current_image_device_path_protocol.deref().to_boxed(); - info!( - "loaded image path: {}", - loaded_image_path.to_string(DisplayOnly(false), AllowShortcuts(false))? - ); RootContext::new(loaded_image_path, options) };