Revert "fix(log): make all logging debug! instead of info!"

This reverts commit 717e7716ba.
This commit is contained in:
2025-10-27 00:20:42 -04:00
parent 717e7716ba
commit e8a4fa5053
4 changed files with 12 additions and 12 deletions

View File

@@ -3,7 +3,7 @@ use crate::utils;
use crate::utils::media_loader::MediaLoaderHandle;
use crate::utils::media_loader::constants::linux::LINUX_EFI_INITRD_MEDIA_GUID;
use anyhow::{Context, Result, bail};
use log::{debug, error};
use log::{error, info};
use serde::{Deserialize, Serialize};
use std::rc::Rc;
use uefi::CString16;
@@ -72,7 +72,7 @@ pub fn chainload(context: Rc<SproutContext>, configuration: &ChainloadConfigurat
.context("unable to convert chainloader options to CString16")?,
);
debug!("options: {}", options);
info!("options: {}", options);
if options.num_bytes() > u32::MAX as usize {
bail!("chainloader options too large");
@@ -101,7 +101,7 @@ pub fn chainload(context: Rc<SproutContext>, configuration: &ChainloadConfigurat
// Retrieve the base and size of the loaded image to display.
let (base, size) = loaded_image_protocol.info();
debug!("loaded image: base={:#x} size={:#x}", base.addr(), size);
info!("loaded image: base={:#x} size={:#x}", base.addr(), size);
// Start the loaded image.
// This call might return, or it may pass full control to another image that will never return.