summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAnoop C S <anoopcs@redhat.com>2015-07-09 11:06:01 +0530
committerDan Lambright <dlambrig@redhat.com>2015-07-09 12:15:17 -0700
commitb6a7a44079c724cbf6fb24c7ac83892f551dc5f6 (patch)
tree69a7685fafff12354a1c68918d6fcb616d99ab22 /xlators
parent3c25f33162c981d18bf78d1fc3536496670959e9 (diff)
features/ctr: Reduce the log-level for ctr-disabled message
Since by default CTR translator is disabled, the following log message is being displayed in brick logs. [ctr-helper.c:256:extract_ctr_options] 0-gfdbdatastore: CTR Xlator is disabled. Therefore this change is to reduce the log-level to INFO. Change-Id: I3b82d6b0dc0445286f91490fb497167a36914a2b BUG: 1241379 Signed-off-by: Anoop C S <anoopcs@redhat.com> Reviewed-on: http://review.gluster.org/11592 Reviewed-by: Joseph Fernandes Tested-by: Joseph Fernandes Tested-by: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/changetimerecorder/src/ctr-helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/changetimerecorder/src/ctr-helper.c b/xlators/features/changetimerecorder/src/ctr-helper.c
index f5d4c474674..047abd9f032 100644
--- a/xlators/features/changetimerecorder/src/ctr-helper.c
+++ b/xlators/features/changetimerecorder/src/ctr-helper.c
@@ -247,11 +247,11 @@ int extract_ctr_options (xlator_t *this, gf_ctr_private_t *_priv) {
GF_ASSERT (this);
GF_ASSERT (_priv);
- /*Checking if the CTR Translator is enabled. By Default its enabled*/
+ /*Checking if the CTR Translator is enabled. By default its disabled*/
_priv->enabled = _gf_false;
GF_OPTION_INIT ("ctr-enabled", _priv->enabled, bool, out);
if (!_priv->enabled) {
- gf_msg (GFDB_DATA_STORE, GF_LOG_ERROR, 0,
+ gf_msg (GFDB_DATA_STORE, GF_LOG_INFO, 0,
CTR_MSG_XLATOR_DISABLED,
"CTR Xlator is disabled.");
ret = 0;