diff options
author | Sachidananda Urs <sac@gluster.com> | 2011-10-29 16:46:43 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-10-30 22:43:10 -0700 |
commit | e5d1f3ce842c7a3e7d3f86304b22b0e31141a2f3 (patch) | |
tree | e53c137a069d188ef4f615f54147016b329e8450 | |
parent | 99e5f3af513446f382e80e3086398532ca914692 (diff) |
Move some of the messages to log level `TRACE'.
Change-Id: I41e6f39c5d0621942a310f550250034fd520ec76
BUG: 3761
Reviewed-on: http://review.gluster.com/644
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amar@gluster.com>
-rw-r--r-- | xlators/cluster/dht/src/dht-diskusage.c | 4 | ||||
-rw-r--r-- | xlators/protocol/client/src/client-lk.c | 8 | ||||
-rw-r--r-- | xlators/protocol/client/src/client3_1-fops.c | 2 | ||||
-rw-r--r-- | xlators/protocol/legacy/client/src/client-protocol.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c index 8c87e8f2dc1..38e8ed8929f 100644 --- a/xlators/cluster/dht/src/dht-diskusage.c +++ b/xlators/cluster/dht/src/dht-diskusage.c @@ -48,7 +48,7 @@ dht_du_info_cbk (call_frame_t *frame, void *cookie, xlator_t *this, prev = cookie; if (op_ret == -1) { - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_WARNING, "failed to get disk info from %s", prev->this->name); goto out; } @@ -64,7 +64,7 @@ dht_du_info_cbk (call_frame_t *frame, void *cookie, xlator_t *this, if (prev->this == conf->subvolumes[i]) { conf->du_stats[i].avail_percent = percent; conf->du_stats[i].avail_space = bytes; - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "on subvolume '%s': avail_percent is: " "%.2f and avail_space is: %"PRIu64"", prev->this->name, diff --git a/xlators/protocol/client/src/client-lk.c b/xlators/protocol/client/src/client-lk.c index 8e78e5410f7..44c9060dd73 100644 --- a/xlators/protocol/client/src/client-lk.c +++ b/xlators/protocol/client/src/client-lk.c @@ -380,7 +380,7 @@ delete_granted_locks_owner (fd_t *fd, uint64_t owner) this = THIS; fdctx = this_fd_get_ctx (fd, this); if (!fdctx) { - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_WARNING, "fdctx not valid"); ret = -1; goto out; @@ -404,7 +404,7 @@ delete_granted_locks_owner (fd_t *fd, uint64_t owner) } /* FIXME: Need to actually print the locks instead of count */ - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "Number of locks cleared=%d", count); out: @@ -438,7 +438,7 @@ delete_granted_locks_fd (clnt_fd_ctx_t *fdctx) } /* FIXME: Need to actually print the locks instead of count */ - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "Number of locks cleared=%d", count); return ret; @@ -657,7 +657,7 @@ cleanup: STACK_DESTROY (frame->root); fd_count = decrement_reopen_fd_count (this, conf); - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "Need to attempt lock recovery on %lld open fds", (unsigned long long) fd_count); return 0; diff --git a/xlators/protocol/client/src/client3_1-fops.c b/xlators/protocol/client/src/client3_1-fops.c index ca8438d201f..f58d6a5e2c2 100644 --- a/xlators/protocol/client/src/client3_1-fops.c +++ b/xlators/protocol/client/src/client3_1-fops.c @@ -719,7 +719,7 @@ client3_1_flush_cbk (struct rpc_req *req, struct iovec *iov, int count, if (rsp.op_ret >= 0) { /* Delete all saved locks of the owner issuing flush */ ret = delete_granted_locks_owner (local->fd, local->owner); - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "deleting locks of owner (%llu) returned %d", (long long unsigned) local->owner, ret); } diff --git a/xlators/protocol/legacy/client/src/client-protocol.c b/xlators/protocol/legacy/client/src/client-protocol.c index 06bc07d3c40..5c199e4dc22 100644 --- a/xlators/protocol/legacy/client/src/client-protocol.c +++ b/xlators/protocol/legacy/client/src/client-protocol.c @@ -479,7 +479,7 @@ client_start_ping (void *data) } if (frame_count < 0) { - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_TRACE, "saved_frames->count is %"PRId64, conn->saved_frames->count); conn->saved_frames->count = 0; |