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 <amukherj@redhat.com> (cherry picked from commit 12af2067a82e37079e76723d3e25ba1c72ca078a)
This commit is contained in:
parent
352e203266
commit
e571233df3
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user