summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index eb3e32d44..3ebe5f51f 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -3143,7 +3143,12 @@ glusterd_handle_cli_profile_volume (rpcsvc_request_t *req)
dict_copy (tmp_dict, dict);
+ gf_cmd_log ("Volume stats", "volume : %s, op: %d", cli_req.volname,
+ cli_req.op);
ret = glusterd_op_begin (req, cli_op, dict, _gf_true);
+ gf_cmd_log ("Volume stats", " on volume %s, op: %d %s ",
+ cli_req.volname, cli_req.op,
+ ((ret == 0)? " SUCCEDED":" FAILED"));
out:
glusterd_friend_sm ();