summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorVenkatesh Somyajulu <vsomyaju@redhat.com>2012-10-10 16:30:11 +0530
committerAnand Avati <avati@redhat.com>2012-10-10 19:14:57 -0700
commit7ed127844df4618edfcda83eec3fff8259d4071b (patch)
tree52f5444377e5f316b8596c7968ab5082290aefa2 /xlators
parent46e20cce6ad6454074d4a55da5bebaad6152b429 (diff)
cluster/afr Changed the message's log level from Error to Debug
Change-Id: Ic2506561367bfec9022dc53e9b17b03dc343df95 BUG: 859411 Signed-off-by: Venkatesh Somyajulu <vsomyaju@redhat.com> Reviewed-on: http://review.gluster.org/4055 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'xlators')
-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 47537beca59..6ee3da79360 100644
--- a/xlators/cluster/afr/src/afr-self-heald.c
+++ b/xlators/cluster/afr/src/afr-self-heald.c
@@ -398,11 +398,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;
@@ -411,7 +411,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;