multipathd: check_path: improve logging for "unusable path" case
[multipath-tools/.git] / multipathd / main.c
index 2f922db..c57aa39 100644 (file)
@@ -1897,7 +1897,8 @@ check_path (struct vectors * vecs, struct path * pp, int ticks)
        }
 
        if (newstate == PATH_WILD || newstate == PATH_UNCHECKED) {
        }
 
        if (newstate == PATH_WILD || newstate == PATH_UNCHECKED) {
-               condlog(2, "%s: unusable path", pp->dev);
+               condlog(2, "%s: unusable path - checker failed", pp->dev);
+               LOG_MSG(2, verbosity, pp);
                conf = get_multipath_config();
                pthread_cleanup_push(put_multipath_config, conf);
                pathinfo(pp, conf, 0);
                conf = get_multipath_config();
                pthread_cleanup_push(put_multipath_config, conf);
                pathinfo(pp, conf, 0);