Blame SOURCES/Reduce-log-level-of-Could-not-load-BootEntry.patch

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