summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/ec/src/ec-common.c
diff options
context:
space:
mode:
authorAshish Pandey <aspandey@redhat.com>2017-01-27 11:31:40 +0530
committerXavier Hernandez <xhernandez@datalab.es>2017-01-27 06:51:39 -0500
commit23a9385953e6b2f05508d9ef85bbbb2200f18fe2 (patch)
tree40d7f6d62b427c4d14b7df62c6c0f2528bbc30c5 /xlators/cluster/ec/src/ec-common.c
parenta9f660bc9d2d7c87b3306a35a2088532de000015 (diff)
cluster/ec: Change level of messages to DEBUG
Heal failed or passed should not be logged as warning. These can be observed from heal info if the heal is happening or not. If we require to debug a case where heal is not happening, we can set the level to DEBUG. Change-Id: I347665c8c8b6223bb08a9f3dd5643a10ddc3b93e BUG: 1417050 Signed-off-by: Ashish Pandey <aspandey@redhat.com> Reviewed-on: https://review.gluster.org/16473 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Xavier Hernandez <xhernandez@datalab.es> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/cluster/ec/src/ec-common.c')
-rw-r--r--xlators/cluster/ec/src/ec-common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index a038ec10ad1..5e1efe381d4 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -67,11 +67,11 @@ int32_t ec_heal_report(call_frame_t * frame, void * cookie, xlator_t * this,
uintptr_t good, uintptr_t bad, dict_t * xdata)
{
if (op_ret < 0) {
- gf_msg (this->name, GF_LOG_WARNING, op_errno,
+ gf_msg (this->name, GF_LOG_DEBUG, op_errno,
EC_MSG_HEAL_FAIL, "Heal failed");
} else {
if ((mask & ~good) != 0) {
- gf_msg (this->name, GF_LOG_INFO, 0,
+ gf_msg (this->name, GF_LOG_DEBUG, 0,
EC_MSG_HEAL_SUCCESS, "Heal succeeded on %d/%d "
"subvolumes",
gf_bits_count(mask & ~(good | bad)),