From 62e1096fb01f7a12c5bc5ff77e3cb427248b80ad Mon Sep 17 00:00:00 2001 From: Amar Tumballi Date: Thu, 7 Apr 2011 07:44:51 +0000 Subject: removed reference to GF_LOG_NORMAL instead used GF_LOG_INFO, which is more standard log level. Signed-off-by: Amar Tumballi Signed-off-by: Vijay Bellur BUG: 2669 (RuntimeError: cannot recognize log level "normal") URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2669 --- xlators/protocol/client/src/client-handshake.c | 2 +- xlators/protocol/client/src/client.c | 2 +- xlators/protocol/legacy/client/src/client-protocol.c | 2 +- xlators/protocol/legacy/server/src/server-protocol.c | 4 ++-- xlators/protocol/server/src/server-helpers.c | 4 ++-- 5 files changed, 7 insertions(+), 7 deletions(-) (limited to 'xlators/protocol') diff --git a/xlators/protocol/client/src/client-handshake.c b/xlators/protocol/client/src/client-handshake.c index bb658fd0cf3..418307c41e0 100644 --- a/xlators/protocol/client/src/client-handshake.c +++ b/xlators/protocol/client/src/client-handshake.c @@ -530,7 +530,7 @@ client3_1_reopendir_cbk (struct rpc_req *req, struct iovec *iov, int count, "reopendir on %s failed (%s)", local->loc.path, strerror (rsp.op_errno)); } else { - gf_log (frame->this->name, GF_LOG_NORMAL, + gf_log (frame->this->name, GF_LOG_INFO, "reopendir on %s succeeded (fd = %"PRId64")", local->loc.path, rsp.fd); } diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index ee8aecc2264..e58f95db05e 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -1876,7 +1876,7 @@ client_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event, if (!conf->skip_notify) { if (conf->connected) - gf_log (this->name, GF_LOG_NORMAL, + gf_log (this->name, GF_LOG_INFO, "disconnected"); /* If the CHILD_DOWN event goes to parent xlator diff --git a/xlators/protocol/legacy/client/src/client-protocol.c b/xlators/protocol/legacy/client/src/client-protocol.c index 135c5646f33..6a5b14c6534 100644 --- a/xlators/protocol/legacy/client/src/client-protocol.c +++ b/xlators/protocol/legacy/client/src/client-protocol.c @@ -5741,7 +5741,7 @@ client_setvolume_cbk (call_frame_t *frame, gf_hdr_common_t *hdr, size_t hdrlen, } - gf_log (trans->xl->name, GF_LOG_NORMAL, + gf_log (trans->xl->name, GF_LOG_INFO, "Connected to %s, attached " "to remote volume '%s'.", trans->peerinfo.identifier, remote_subvol); diff --git a/xlators/protocol/legacy/server/src/server-protocol.c b/xlators/protocol/legacy/server/src/server-protocol.c index 820f3a645d4..b462a31f11f 100644 --- a/xlators/protocol/legacy/server/src/server-protocol.c +++ b/xlators/protocol/legacy/server/src/server-protocol.c @@ -253,7 +253,7 @@ gf_server_print_request (call_frame_t *frame) break; } - gf_log (this->name, GF_LOG_NORMAL, + gf_log (this->name, GF_LOG_INFO, "%s%s%s%s%s%s%s", gf_fop_list[frame->root->op], caller, resolve_vars, loc_vars, resolve2_vars, loc2_vars, other_vars); @@ -299,7 +299,7 @@ server_print_reply (call_frame_t *frame, int op_ret, int op_errno) if (state->fd) snprintf (fdstr, 32, " fd=%p", state->fd); - gf_log (this->name, GF_LOG_NORMAL, + gf_log (this->name, GF_LOG_INFO, "%s%s => (%d, %d)%s", op, caller, op_ret, op_errno, fdstr); } diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c index b34f48c094a..1abe4d2d86e 100644 --- a/xlators/protocol/server/src/server-helpers.c +++ b/xlators/protocol/server/src/server-helpers.c @@ -1282,7 +1282,7 @@ server_print_reply (call_frame_t *frame, int op_ret, int op_errno) if (state->fd) snprintf (fdstr, 32, " fd=%p", state->fd); - gf_log (this->name, GF_LOG_NORMAL, + gf_log (this->name, GF_LOG_INFO, "%s%s => (%d, %d)%s", op, caller, op_ret, op_errno, fdstr); out: @@ -1348,7 +1348,7 @@ server_print_request (call_frame_t *frame) break; } - gf_log (this->name, GF_LOG_NORMAL, + gf_log (this->name, GF_LOG_INFO, "%s%s%s%s%s%s%s", op, caller, resolve_vars, loc_vars, resolve2_vars, loc2_vars, other_vars); -- cgit