From 961bef293f52f84f584ac4bb02ac50117d12e118 Mon Sep 17 00:00:00 2001 From: Vijay Bellur Date: Fri, 17 Apr 2015 12:00:48 +0530 Subject: cluster/dht: change log level of developer logs to DEBUG Backport of : http://review.gluster.org/10281 A few log messages in dht directory self heal at log level INFO are useful only for developers and these logs tend to casue excessive logs in our log files. Hence moving the log level of such logs to DEBUG. Change-Id: I8a543f4ddeb5c20b2978a0f7b18d8baccc935a54 BUG: 1217949 Signed-off-by: Vijay Bellur Reviewed-on: http://review.gluster.org/10281 Reviewed-by: N Balachandran Tested-by: Gluster Build System Reviewed-on: http://review.gluster.org/10704 Tested-by: NetBSD Build System Reviewed-by: Raghavendra Talur --- xlators/cluster/dht/src/dht-selfheal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xlators/cluster/dht/src/dht-selfheal.c b/xlators/cluster/dht/src/dht-selfheal.c index 260c50083df..cc093e1199f 100644 --- a/xlators/cluster/dht/src/dht-selfheal.c +++ b/xlators/cluster/dht/src/dht-selfheal.c @@ -1582,7 +1582,7 @@ dht_selfheal_layout_new_directory (call_frame_t *frame, loc_t *loc, if (weight_by_size && total_size) { /* We know total_size is not zero. */ chunk = ((unsigned long) 0xffffffff) / total_size; - gf_log (this->name, GF_LOG_INFO, + gf_log (this->name, GF_LOG_DEBUG, "chunk size = 0xffffffff / %u = 0x%x", total_size, chunk); } @@ -1621,7 +1621,7 @@ dht_selfheal_layout_new_directory (call_frame_t *frame, loc_t *loc, else { curr_size = 1; } - gf_log (this->name, GF_LOG_INFO, + gf_log (this->name, GF_LOG_DEBUG, "assigning range size 0x%x to %s", chunk * curr_size, layout->list[i].xlator->name); DHT_SET_LAYOUT_RANGE(layout, i, start, chunk * curr_size, -- cgit