summaryrefslogtreecommitdiffstats
path: root/xlators/debug/io-stats/src/io-stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/debug/io-stats/src/io-stats.c')
-rw-r--r--xlators/debug/io-stats/src/io-stats.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c
index 2061d9bc9b1..c72545bd387 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} },
};