From d437dd91bf167675615d7c7c2f99abbed2d899a1 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Mon, 21 Feb 2011 06:48:23 +0000 Subject: log the total replace brick command received Log the full replace brick command which says whether the command is start/pause/status/abort/commit. Signed-off-by: Raghavendra Bhat Signed-off-by: Anand V. Avati BUG: 1404 (need a dump of all the op/mgmt commands) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1404 --- xlators/mgmt/glusterd/src/glusterd-handler.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 6f8cf0ce6f4..e9fa043a33b 100644 --- a/xlators/mgmt/glusterd/src/glusterd-handler.c +++ b/xlators/mgmt/glusterd/src/glusterd-handler.c @@ -1332,8 +1332,6 @@ glusterd_handle_replace_brick (rpcsvc_request_t *req) goto out; } - gf_cmd_log ("Volume replace-brick","on volname: %s attempted", cli_req.volname); - gf_log ("glusterd", GF_LOG_NORMAL, "Received replace brick req"); if (cli_req.bricks.bricks_len) { @@ -1396,6 +1394,7 @@ glusterd_handle_replace_brick (rpcsvc_request_t *req) break; } + gf_log ("glusterd", GF_LOG_NORMAL, "Recieved replace brick %s request", operation); gf_cmd_log ("Volume replace-brick","volname: %s src_brick:%s" " dst_brick:%s op:%s",cli_req.volname, src_brick, dst_brick ,operation); -- cgit