diff options
author | Pranith Kumar K <pkarampu@redhat.com> | 2014-01-03 14:44:01 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-04-28 09:44:19 -0700 |
commit | 26843b00447cc14427b4f02ca136033b56ca093f (patch) | |
tree | 57ed6cc0b4fc3bbbad34ed427a88880760ff38b2 /xlators/cluster/afr/src/afr-common.c | |
parent | 07ed48398e41df1b65202f3d2e0be6f2c3ca8ceb (diff) |
heal: Enable logging for glfsheal.
logs will be written to <log-dir>/glfsheal-<volname>.log
Moved some non-essential frequent logs to DEBUG.
BUG: 1039544
Change-Id: I2aceda6e3092f8c5052e7a4b8b5dec3cdeebd9a9
Signed-off-by: Pranith Kumar K <pkarampu@redhat.com>
Reviewed-on: http://review.gluster.org/7481
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Ravishankar N <ravishankar@redhat.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'xlators/cluster/afr/src/afr-common.c')
-rw-r--r-- | xlators/cluster/afr/src/afr-common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/cluster/afr/src/afr-common.c b/xlators/cluster/afr/src/afr-common.c index 7dafa0529fa..1e57ebb9d7c 100644 --- a/xlators/cluster/afr/src/afr-common.c +++ b/xlators/cluster/afr/src/afr-common.c @@ -2292,7 +2292,7 @@ afr_set_root_inode_on_first_lookup (afr_local_t *local, xlator_t *this, goto out; priv = this->private; if ((priv->first_lookup)) { - gf_log (this->name, GF_LOG_INFO, "added root inode"); + gf_log (this->name, GF_LOG_DEBUG, "added root inode"); priv->root_inode = inode_ref (inode); priv->first_lookup = 0; } @@ -2353,7 +2353,7 @@ afr_discovery_cbk (call_frame_t *frame, void *cookie, xlator_t *this, */ if (is_local) { child_index = (int32_t)(long)cookie; - gf_log (this->name, GF_LOG_INFO, + gf_log (this->name, GF_LOG_DEBUG, "selecting local read_child %s", priv->children[child_index]->name); priv->read_child = child_index; |