summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2010-10-11 06:42:32 +0000
committerVijay Bellur <vijay@dev.gluster.com>2010-10-11 07:31:25 -0700
commitbf68324270f7e15f140ccb74ab355f8179cce92f (patch)
tree78f7e808c1b4974bdd786e60165f3bbce72a661f /xlators
parent47a87215e30d3ea2dc6ec9ae178f5a9e3eae9e96 (diff)
Set correct logging level for log messages
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1887 (logging mess) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1887
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c4
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c6
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.c3
3 files changed, 6 insertions, 7 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index 1c65df422..51704b3d2 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -438,7 +438,7 @@ glusterd_handle_cluster_lock (rpcsvc_request_t *req)
ret = glusterd_op_sm_inject_event (GD_OP_EVENT_LOCK, ctx);
out:
- gf_log ("", GF_LOG_NORMAL, "Returning %d", ret);
+ gf_log ("", GF_LOG_DEBUG, "Returning %d", ret);
return ret;
}
@@ -2654,7 +2654,7 @@ glusterd_op_txn_begin ()
ret = glusterd_op_sm_inject_event (GD_OP_EVENT_START_LOCK, NULL);
- gf_log ("glusterd", GF_LOG_NORMAL, "Returning %d", ret);
+ gf_log ("glusterd", GF_LOG_DEBUG, "Returning %d", ret);
out:
if (locked && ret)
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 78bec9a0e..ca9358415 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -4578,7 +4578,7 @@ glusterd_op_send_cli_response (int32_t op, int32_t op_ret,
goto out;
out:
- gf_log ("", GF_LOG_NORMAL, "Returning %d", ret);
+ gf_log ("", GF_LOG_DEBUG, "Returning %d", ret);
return ret;
}
@@ -4657,7 +4657,7 @@ out:
if (op_errstr && (strcmp (op_errstr, "")))
GF_FREE (op_errstr);
- gf_log ("glusterd", GF_LOG_NORMAL, "Returning %d", ret);
+ gf_log ("glusterd", GF_LOG_DEBUG, "Returning %d", ret);
return ret;
}
@@ -5256,7 +5256,7 @@ glusterd_op_set_cli_op (gf_mgmt_procnum op)
opinfo.cli_op = op;
out:
- gf_log ("", GF_LOG_NORMAL, "Returning %d", ret);
+ gf_log ("", GF_LOG_DEBUG, "Returning %d", ret);
return ret;
}
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
index c195600a8..4b9895219 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -748,8 +748,7 @@ glusterd_retrieve_uuid ()
&uuid_str);
if (ret) {
- gf_log ("", GF_LOG_CRITICAL, "Retrieving uuid failed"
- " ret = %d", ret);
+ gf_log ("", GF_LOG_NORMAL, "No previous uuid is present");
goto out;
}