summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Bhat <raghavendrabhat@gluster.com>2011-07-20 12:21:12 +0530
committerAnand Avati <avati@gluster.com>2011-07-20 06:15:42 -0700
commit37b4b7ccad5a479ed2ce96598e902a12fd457bd5 (patch)
tree503bed5f1024a3a158c8e7dbff2b3e8d8c1f605f /xlators
parentc6053cac7794dfd9bf693e91cd76c2a45d7859eb (diff)
debug/io-stats: allow log-level to be set to INFO
Change-Id: Ieba6591b0641dcb7dad724c1d8199dc5e91b6bfd BUG: 3198 Reviewed-on: http://review.gluster.com/43 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.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index 3a203244421..ed15a4f8439 100644
--- a/xlators/debug/io-stats/src/io-stats.c
+++ b/xlators/debug/io-stats/src/io-stats.c
@@ -2416,7 +2416,7 @@ iostats_configure_options (xlator_t *this, dict_t *xl_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);
}
}
@@ -2731,7 +2731,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"}
},
/* These are synthetic entries to assist validation of CLI's *
@@ -2740,7 +2741,8 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_STR,
.default_value = "INFO",
.description = "Changes the log-level of the clients",
- .value = { "DEBUG", "WARNING", "ERROR", "CRITICAL", "NONE", "TRACE"}
+ .value = { "DEBUG", "WARNING", "ERROR", "INFO",
+ "CRITICAL", "NONE", "TRACE"}
},
{ .key = {"sys-log-level"},
.type = GF_OPTION_TYPE_STR,
@@ -2752,7 +2754,8 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_STR,
.default_value = "INFO",
.description = "Changes the log-level of the bricks",
- .value = { "DEBUG", "WARNING", "ERROR", "CRITICAL", "NONE", "TRACE"}
+ .value = { "DEBUG", "WARNING", "ERROR", "INFO",
+ "CRITICAL", "NONE", "TRACE"}
},
{ .key = {NULL} },