881dcd
From 52019b19caaf383daa5f2f0437e0c9e262adb45e Mon Sep 17 00:00:00 2001
881dcd
From: Vojtech Trefny <vtrefny@redhat.com>
881dcd
Date: Mon, 13 Dec 2021 14:18:12 +0100
881dcd
Subject: [PATCH] Fix log message for the LVM devices filter
881dcd
881dcd
---
881dcd
 blivet/devicelibs/lvm.py | 4 ++--
881dcd
 1 file changed, 2 insertions(+), 2 deletions(-)
881dcd
881dcd
diff --git a/blivet/devicelibs/lvm.py b/blivet/devicelibs/lvm.py
881dcd
index 3ab1540b..bbde6303 100644
881dcd
--- a/blivet/devicelibs/lvm.py
881dcd
+++ b/blivet/devicelibs/lvm.py
881dcd
@@ -133,14 +133,14 @@ def needs_config_refresh(fn):
881dcd
 @needs_config_refresh
881dcd
 def lvm_devices_add(path):
881dcd
     """ Add a device (PV) to the list of devices LVM is allowed to use """
881dcd
-    log.debug("lvm filter: device %s added to the list of allowed devices")
881dcd
+    log.debug("lvm filter: device %s added to the list of allowed devices", path)
881dcd
     _lvm_devices.add(path)
881dcd
 
881dcd
 
881dcd
 @needs_config_refresh
881dcd
 def lvm_devices_remove(path):
881dcd
     """ Remove a device (PV) to the list of devices LVM is allowed to use """
881dcd
-    log.debug("lvm filter: device %s removed from the list of allowed devices")
881dcd
+    log.debug("lvm filter: device %s removed from the list of allowed devices", path)
881dcd
     try:
881dcd
         _lvm_devices.remove(path)
881dcd
     except KeyError:
881dcd
-- 
881dcd
2.34.1
881dcd