summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2019-02-07 14:45:39 +0530
committerAtin Mukherjee <amukherj@redhat.com>2019-02-08 09:54:41 +0530
commit12af2067a82e37079e76723d3e25ba1c72ca078a (patch)
treeb3990281a898377b37ef6c5b991c762cf36eea36
parentddcb3c7438472072daa6fbe3f3b87067b6d7bc54 (diff)
glusterd: improve logging
glusterd_resolve_all_bricks failure log should highlight the brick identifier. Updates: bz#1193929 Change-Id: I035b4650ef6a14bb1e1221d3bad1c40f9d43dbdd Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
index 22190ef4195..7acea053496 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -4944,7 +4944,9 @@ glusterd_resolve_all_bricks(xlator_t *this)
"peer=%s;volume=%s;brick=%s", brickinfo->hostname,
volinfo->volname, brickinfo->path);
gf_msg("glusterd", GF_LOG_ERROR, 0, GD_MSG_RESOLVE_BRICK_FAIL,
- "resolve brick failed in restore");
+ "Failed to resolve brick %s with host %s of volume %s"
+ " in restore",
+ brickinfo->path, brickinfo->hostname, volinfo->volname);
goto out;
}
}