diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-02-21 06:48:23 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2011-02-22 08:45:51 -0800 |
commit | d437dd91bf167675615d7c7c2f99abbed2d899a1 (patch) | |
tree | 73bc4be03f0d29d87766b7cc55b738b3224959b4 /xlators | |
parent | 3af42dac5fbea3af8d65799fd50300838f2e1d33 (diff) |
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 <raghavendrabhat@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 1404 (need a dump of all the op/mgmt commands)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1404
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c index 6f8cf0ce6..e9fa043a3 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); |