From 009b05411ca399deed3045acdc93116ebab029c4 Mon Sep 17 00:00:00 2001 From: Raghavendra Bhat Date: Wed, 20 Jul 2011 13:46:31 +0530 Subject: 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 Reviewed-by: Anand Avati --- xlators/debug/io-stats/src/io-stats.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'xlators') diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 326645cf36d..9195906d006 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} }, }; -- cgit