34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
|
From 13ed30d16790d0ee205c8acc5bead3133845a9ac Mon Sep 17 00:00:00 2001
|
||
|
From: "Bryn M. Reeves" <bmr@redhat.com>
|
||
|
Date: Tue, 8 Jan 2019 16:48:19 +0000
|
||
|
Subject: [PATCH] boom: reduce log level of "Could not load BootEntry" messages
|
||
|
|
||
|
On systems where other BLS implementations are in use, and where
|
||
|
those entries use non-standard BLS keys, boom will emit a warning
|
||
|
message for each foreign entry found. This is noisy and of little
|
||
|
use to end users: reduce the log message to "info" level, making
|
||
|
these errors silent without increased verbosity.
|
||
|
|
||
|
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
||
|
(cherry picked from commit 40ddddf5c1fa14cd7d39731fd545fe02aab328d0)
|
||
|
---
|
||
|
boom/bootloader.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/boom/bootloader.py b/boom/bootloader.py
|
||
|
index cf50b4e..bc86cb8 100644
|
||
|
--- a/boom/bootloader.py
|
||
|
+++ b/boom/bootloader.py
|
||
|
@@ -504,7 +504,7 @@ def load_entries(machine_id=None):
|
||
|
try:
|
||
|
_add_entry(BootEntry(entry_file=entry_path))
|
||
|
except Exception as e:
|
||
|
- _log_warn("Could not load BootEntry '%s': %s" %
|
||
|
+ _log_info("Could not load BootEntry '%s': %s" %
|
||
|
(entry_path, e))
|
||
|
|
||
|
_log_info("Loaded %d entries" % len(_entries))
|
||
|
--
|
||
|
1.8.3.1
|
||
|
|