diff options
-rw-r--r-- | libglusterfs/src/dict.c | 2 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-handler.c | 4 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-op-sm.c | 6 | ||||
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-store.c | 3 |
4 files changed, 7 insertions, 8 deletions
diff --git a/libglusterfs/src/dict.c b/libglusterfs/src/dict.c index 6c4898516..bbd14fc86 100644 --- a/libglusterfs/src/dict.c +++ b/libglusterfs/src/dict.c @@ -1200,7 +1200,7 @@ char * data_to_str (data_t *data) { if (!data) { - gf_log ("dict", GF_LOG_CRITICAL, + gf_log ("dict", GF_LOG_WARNING, "@data=%p", data); return NULL; } 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; } |