From e571233df3ea247eaf2ae5e06c331060dc75f9d3 Mon Sep 17 00:00:00 2001 From: Atin Mukherjee Date: Thu, 7 Feb 2019 14:45:39 +0530 Subject: glusterd: improve logging glusterd_resolve_all_bricks failure log should highlight the brick identifier. Change-Id: I035b4650ef6a14bb1e1221d3bad1c40f9d43dbdd fixes: bz#1673972 Signed-off-by: Atin Mukherjee (cherry picked from commit 12af2067a82e37079e76723d3e25ba1c72ca078a) --- xlators/mgmt/glusterd/src/glusterd-store.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'xlators') 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; } } -- cgit