diff options
author | Raghavendra Bhat <raghavendrabhat@gluster.com> | 2011-07-20 13:46:31 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-07-20 06:17:11 -0700 |
commit | 009b05411ca399deed3045acdc93116ebab029c4 (patch) | |
tree | 25030cd77262d6125936dc65cd886072c98d1dd6 /xlators | |
parent | e559ea5f8056472a6df8fde942239cb6342dc23e (diff) |
debug/io-stats: allow the log-level to be set to INFO
Change-Id: Ica9ea1b129e2c8325f7eafae7a83b85734153663
BUG: 3198
Reviewed-on: http://review.gluster.com/57
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/debug/io-stats/src/io-stats.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 326645cf3..9195906d0 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -2355,7 +2355,7 @@ iostats_configure_options (xlator_t *this, dict_t *options, if (!ret) { if (!is_gf_log_command(this, "trusted.glusterfs.set-log-level", log_str)) { - gf_log (this->name, GF_LOG_DEBUG, + gf_log (this->name, GF_LOG_INFO, "changing log-level to %s", log_str); } } @@ -2644,7 +2644,8 @@ struct volume_options options[] = { }, { .key = {"log-level"}, .type = GF_OPTION_TYPE_STR, - .value = { "DEBUG", "WARNING", "ERROR", "CRITICAL", "NONE", "TRACE"} + .value = { "DEBUG", "WARNING", "ERROR", "INFO", + "CRITICAL", "NONE", "TRACE"} }, { .key = {NULL} }, }; |