From ae1a2902c2193cac46813728cdfde6227f8e0379 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Wed, 27 Feb 2013 14:21:04 +0530 Subject: mgmt/glusterd: Move found-brick logs to DEBUG Change-Id: I1c311c21d7bdcad4956d3428bda39131c331cd7a BUG: 812356 Signed-off-by: Pranith Kumar K Reviewed-on: http://review.gluster.org/4585 Reviewed-by: Krutika Dhananjay Reviewed-by: Krishnan Parthasarathi Tested-by: Gluster Build System Reviewed-by: Vijay Bellur --- xlators/mgmt/glusterd/src/glusterd-brick-ops.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-brick-ops.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-brick-ops.c b/xlators/mgmt/glusterd/src/glusterd-brick-ops.c index 1c1ad1bf..6a56432d 100644 --- a/xlators/mgmt/glusterd/src/glusterd-brick-ops.c +++ b/xlators/mgmt/glusterd/src/glusterd-brick-ops.c @@ -794,7 +794,9 @@ glusterd_handle_remove_brick (rpcsvc_request_t *req) continue; } - gf_log (this->name, GF_LOG_INFO, "Found brick"); + gf_log (this->name, GF_LOG_DEBUG, LOGSTR_FOUND_BRICK, + brickinfo->hostname, brickinfo->path, + volinfo->volname); if (!sub_volume && (volinfo->dist_leaf_count > 1)) { sub_volume = (pos / volinfo->dist_leaf_count) + 1; sub_volume_start = (volinfo->dist_leaf_count * @@ -805,7 +807,7 @@ glusterd_handle_remove_brick (rpcsvc_request_t *req) if (pos < sub_volume_start || pos >sub_volume_end) { ret = -1; - snprintf (err_str, sizeof (err_str), + snprintf (err_str, sizeof (err_str), "Bricks not from same subvol " "for %s", vol_type); gf_log (this->name, GF_LOG_ERROR, -- cgit