From 721b5849406fd84902b3490c1122313ddb8e4d30 Mon Sep 17 00:00:00 2001 From: nikstur Date: Mon, 6 Mar 2023 00:52:46 +0100 Subject: [PATCH] tool: fine tune a few log messages --- rust/tool/src/install.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rust/tool/src/install.rs b/rust/tool/src/install.rs index 688eaf4..79c5ecf 100644 --- a/rust/tool/src/install.rs +++ b/rust/tool/src/install.rs @@ -172,7 +172,7 @@ impl Installer { let generation = match generation_result { Ok(generation) => generation, Err(e) => { - log::info!( + log::debug!( "Ignoring generation {} because it's malformed.", link.version ); @@ -317,11 +317,11 @@ impl Installer { for (from, to) in paths { let newer_systemd_boot_available = newer_systemd_boot(from, to)?; if newer_systemd_boot_available { - log::info!("Updating systemd-boot...") + log::info!("Updating {to:?}...") }; let systemd_boot_is_signed = &self.key_pair.verify(to); if !systemd_boot_is_signed { - log::warn!("systemd-boot is not signed. Replacing it with a signed binary...") + log::warn!("${to:?} is not signed. Replacing it with a signed binary...") }; if newer_systemd_boot_available || !systemd_boot_is_signed {