[multipathd] log the uevent discarding as debug information
authorChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 17 Dec 2008 22:39:47 +0000 (23:39 +0100)
committerChristophe Varoqui <christophe.varoqui@free.fr>
Wed, 17 Dec 2008 22:39:47 +0000 (23:39 +0100)
multipathd/main.c

index e8a2660..36aa93c 100644 (file)
@@ -614,12 +614,12 @@ uev_discard(char * devpath)
         */
        tmp = strstr(devpath, "/block/");
        if (tmp == NULL){
-               condlog(0, "no /block/ in '%s'", devpath);
+               condlog(4, "no /block/ in '%s'", devpath);
                return 1;
        }
        if (sscanf(tmp, "/block/%10s", a) != 1 ||
            sscanf(tmp, "/block/%10[^/]/%10s", a, b) == 2) {
-               condlog(0, "discard event on %s", devpath);
+               condlog(4, "discard event on %s", devpath);
                return 1;
        }
        return 0;