diff mbox series

[73/74] libmultipath: decrease loglevel in store_path()

Message ID 20200709105145.9211-21-mwilck@suse.com (mailing list archive)
State Not Applicable, archived
Delegated to: christophe varoqui
Headers show
Series multipath-tools series part V: removed path handling | expand

Commit Message

Martin Wilck July 9, 2020, 10:51 a.m. UTC
From: Martin Wilck <mwilck@suse.com>

"Empty device name" in store_path() can happen regularly and
shouldn't be logged at -v2.

Signed-off-by: Martin Wilck <mwilck@suse.com>
---
 libmultipath/structs.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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++;
 	}