summaryrefslogtreecommitdiff
path: root/multipathd
diff options
context:
space:
mode:
authorChristophe Varoqui <christophe.varoqui@free.fr>2008-12-17 23:39:47 +0100
committerChristophe Varoqui <christophe.varoqui@free.fr>2008-12-17 23:39:47 +0100
commit27bdfc160a3ca96ade90b17291f25677fe2aaadf (patch)
tree4a5fa895c98e84a6def4fed88e35f6f35cc1d1ea /multipathd
parent72496b96b660f4fd296127633132b009706f180f (diff)
downloadmultipath-tools-27bdfc160a3ca96ade90b17291f25677fe2aaadf.tar.gz
multipath-tools-27bdfc160a3ca96ade90b17291f25677fe2aaadf.tar.bz2
multipath-tools-27bdfc160a3ca96ade90b17291f25677fe2aaadf.zip
[multipathd] log the uevent discarding as debug information
Diffstat (limited to 'multipathd')
-rw-r--r--multipathd/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/multipathd/main.c b/multipathd/main.c
index e8a2660..36aa93c 100644
--- a/multipathd/main.c
+++ b/multipathd/main.c
@@ -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;