diff options
| author | Anoop C S <anoopcs@redhat.com> | 2015-07-09 11:06:01 +0530 | 
|---|---|---|
| committer | Dan Lambright <dlambrig@redhat.com> | 2015-10-28 04:47:17 -0700 | 
| commit | 6fcccc0af61b4e11ed9deeb0e4357d0fcfe8401b (patch) | |
| tree | dc458f5093fd269bd6bc471c82cb7464e248a5fe | |
| parent | c926dcf3a76ae5caeaa5dacc4210949bc3f8f212 (diff) | |
features/ctr: Reduce the log-level for ctr-disabled message
     Backport of http://review.gluster.org/#/c/11592/
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>
BUG: 1275157
Signed-off-by: Anoop C S <anoopcs@redhat.com>
(cherry picked from commit b6a7a44079c724cbf6fb24c7ac83892f551dc5f6)
Change-Id: I1bcea5258da525b955606f2353f749b2e37449cc
Reviewed-on: http://review.gluster.org/12424
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Dan Lambright <dlambrig@redhat.com>
Tested-by: Dan Lambright <dlambrig@redhat.com>
| -rw-r--r-- | xlators/features/changetimerecorder/src/ctr-helper.c | 4 | 
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;  | 
