From 5e14417b478520620bb5990eda41e3ad3e9af09c Mon Sep 17 00:00:00 2001 From: Sachidananda Urs Date: Sat, 29 Oct 2011 14:20:02 +0530 Subject: Move some of the messages to log level `TRACE'. Change-Id: I46133b5e2218b9d810251b3dadadd8f157ab07d7 BUG: 3761 Reviewed-on: http://review.gluster.com/643 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- xlators/cluster/dht/src/dht-diskusage.c | 4 ++-- xlators/protocol/client/src/client-lk.c | 8 ++++---- xlators/protocol/client/src/client3_1-fops.c | 2 +- xlators/protocol/legacy/client/src/client-protocol.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) (limited to 'xlators') diff --git a/xlators/cluster/dht/src/dht-diskusage.c b/xlators/cluster/dht/src/dht-diskusage.c index d27d8bf91..0b8c116ca 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 31c56a05f..5334500a9 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; @@ -654,7 +654,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 6f93eccc0..fe58786f7 100644 --- a/xlators/protocol/client/src/client3_1-fops.c +++ b/xlators/protocol/client/src/client3_1-fops.c @@ -726,7 +726,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 06bc07d3c..5c199e4dc 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; -- cgit