diff options
author | Amar Tumballi <amar@gluster.com> | 2011-04-07 07:44:51 +0000 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-04-07 11:40:25 -0700 |
commit | 62e1096fb01f7a12c5bc5ff77e3cb427248b80ad (patch) | |
tree | 863f24a67574834751693a82fee9df158bdeb253 /xlators/protocol/legacy | |
parent | 19b2e01f1c53c358c5673c3d216c0349b55481a6 (diff) |
removed reference to GF_LOG_NORMAL
instead used GF_LOG_INFO, which is more standard log level.
Signed-off-by: Amar Tumballi <amar@gluster.com>
Signed-off-by: Vijay Bellur <vijay@gluster.com>
BUG: 2669 (RuntimeError: cannot recognize log level "normal")
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2669
Diffstat (limited to 'xlators/protocol/legacy')
-rw-r--r-- | xlators/protocol/legacy/client/src/client-protocol.c | 2 | ||||
-rw-r--r-- | xlators/protocol/legacy/server/src/server-protocol.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xlators/protocol/legacy/client/src/client-protocol.c b/xlators/protocol/legacy/client/src/client-protocol.c index 135c5646f..6a5b14c65 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 820f3a645..b462a31f1 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); } |