[dm-devel] [PATCH v2 18/20] multipathd: decrease log level of "spurious uevent" message

Martin Wilck mwilck at suse.com
Mon Mar 19 15:01:53 UTC 2018


We trigger such events under various conditions, there's no point
logging them at -v2.

Signed-off-by: Martin Wilck <mwilck at suse.com>
---
 multipathd/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multipathd/main.c b/multipathd/main.c
index 8fd7d2b75cba..ab6286f942ce 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -814,7 +814,7 @@ uev_add_path (struct uevent *uev, struct vectors * vecs, int need_do_map)
 	if (pp) {
 		int r;
 
-		condlog(2, "%s: spurious uevent, path already in pathvec",
+		condlog(3, "%s: spurious uevent, path already in pathvec",
 			uev->kernel);
 		if (!pp->mpp && !strlen(pp->wwid)) {
 			condlog(3, "%s: reinitialize path", uev->kernel);
-- 
2.16.1




More information about the dm-devel mailing list