Removing a partition map is an important action that should be logged
at verbosity level 3.

Signed-off-by: Martin Wilck <[email protected]>
---
 libmultipath/devmapper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libmultipath/devmapper.c b/libmultipath/devmapper.c
index 3ab231e..3502d05 100644
--- a/libmultipath/devmapper.c
+++ b/libmultipath/devmapper.c
@@ -1392,7 +1392,7 @@ remove_partmap(const char *name, void *data)
                condlog(2, "%s: map in use", name);
                return DM_FLUSH_BUSY;
        }
-       condlog(4, "partition map %s removed", name);
+       condlog(3, "partition map %s removed", name);
        dm_device_remove(name, rd->flags);
        return DM_FLUSH_OK;
 }
-- 
2.47.0


Reply via email to