From afb6997fe74af257c7e687e33fe88a292f7a4a00 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Fri, 8 Oct 2010 09:52:52 +0000 Subject: io-stats, volgen: make the distinction between client and brick loglevel in volgen's scope Signed-off-by: Csaba Henk Signed-off-by: Vijay Bellur BUG: 1789 (add log-level options to volume set) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1789 --- xlators/debug/io-stats/src/io-stats.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'xlators/debug') diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index 2061d9bc9..c72545bd3 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -1586,11 +1586,7 @@ reconfigure (xlator_t *this, dict_t *options) if (!ctx) return -1; - if (ctx->cmd_args.brick_name) - ret = dict_get_str (options, "log-level", &log_str); - else - ret = dict_get_str (options, "client-log-level", &log_str); - + ret = dict_get_str (options, "log-level", &log_str); if (!ret) { if (!is_gf_log_command(this, "trusted.glusterfs*set-log-level", log_str)) { gf_log (this->name, GF_LOG_DEBUG, @@ -1762,8 +1758,5 @@ struct volume_options options[] = { { .key = {"log-level"}, .type = GF_OPTION_TYPE_STR, }, - { .key = {"client-log-level"}, - .type = GF_OPTION_TYPE_STR, - }, { .key = {NULL} }, }; -- cgit