summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVenkatesh Somyajulu <vsomyaju@redhat.com>2012-10-17 14:44:09 +0530
committerVijay Bellur <vbellur@redhat.com>2012-12-17 04:17:24 -0500
commit05b1bdaa9cc505f152b85f93579691b37907933d (patch)
tree1cbd63586a7c5707be0a6d1aba9ea9b4c732eda0
parente8ec48059411f643c471004f2d325cd4a1151d38 (diff)
cluster/afr Changed the message's log level from Error to Debug
Change-Id: I64ca577839fc25952025651873ab60a2fcc3702c BUG: 859411 Signed-off-by: Venkatesh Somyajulu <vsomyaju@redhat.com> Reviewed-on: https://code.engineering.redhat.com/gerrit/1984 Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--xlators/cluster/afr/src/afr-self-heald.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-self-heald.c b/xlators/cluster/afr/src/afr-self-heald.c
index 14e81a5384a..d5773040770 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -417,11 +417,11 @@ _crawl_proceed (xlator_t *this, int child, int crawl_flags, char **reason)
shd = &priv->shd;
if (!shd->enabled) {
msg = "Self-heal daemon is not enabled";
- gf_log (this->name, GF_LOG_ERROR, "%s", msg);
+ gf_log (this->name, GF_LOG_DEBUG, "%s", msg);
goto out;
}
if (!priv->child_up[child]) {
- gf_log (this->name, GF_LOG_ERROR, "Stopping crawl for %s , "
+ gf_log (this->name, GF_LOG_DEBUG, "Stopping crawl for %s , "
"subvol went down", priv->children[child]->name);
msg = "Brick is Not connected";
goto out;
@@ -430,7 +430,7 @@ _crawl_proceed (xlator_t *this, int child, int crawl_flags, char **reason)
if (crawl_flags & STOP_CRAWL_ON_SINGLE_SUBVOL) {
if (afr_up_children_count (priv->child_up,
priv->child_count) < 2) {
- gf_log (this->name, GF_LOG_ERROR, "Stopping crawl as "
+ gf_log (this->name, GF_LOG_DEBUG, "Stopping crawl as "
"< 2 children are up");
msg = "< 2 bricks in replica are running";
goto out;