[dm-devel] [PATCH 73/74] libmultipath: decrease loglevel in store_path()
mwilck at suse.com
mwilck at suse.com
Thu Jul 9 10:51:44 UTC 2020
From: Martin Wilck <mwilck at suse.com>
"Empty device name" in store_path() can happen regularly and
shouldn't be logged at -v2.
Signed-off-by: Martin Wilck <mwilck at suse.com>
---
libmultipath/structs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libmultipath/structs.c b/libmultipath/structs.c
index 056a205..f4de542 100644
--- a/libmultipath/structs.c
+++ b/libmultipath/structs.c
@@ -322,7 +322,7 @@ store_path (vector pathvec, struct path * pp)
err++;
}
if (!strlen(pp->dev)) {
- condlog(2, "%s: Empty device name", pp->dev_t);
+ condlog(3, "%s: Empty device name", pp->dev_t);
err++;
}
--
2.26.2
More information about the dm-devel
mailing list