diff options
author | Kaushik BV <kaushikbv@gluster.com> | 2011-08-05 09:02:49 +0530 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-08-05 01:51:23 -0700 |
commit | c5a927ef1adfd51445946eb921728e2d72f1b6ca (patch) | |
tree | a1ddd680c76c6bbb122166402f4e58083898cb4f /xlators/debug | |
parent | ebeedba9d76e51f4ddeacfbbf335e3eab6272435 (diff) |
mgmt/glusterd: Minor fixes for volume set help/help-xml
- Overallocate the buffer-size of the xmlBuffer to 16KB
- Introduce synthetic options in xlators
- Change the tags of XML output
Change-Id: I8c9ab466973b5c12accba4741c336e380a180bed
BUG: 2041
Reviewed-on: http://review.gluster.com/168
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@gluster.com>
Diffstat (limited to 'xlators/debug')
-rw-r--r-- | xlators/debug/io-stats/src/io-stats.c | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/xlators/debug/io-stats/src/io-stats.c b/xlators/debug/io-stats/src/io-stats.c index fff16ede215..5c292567c07 100644 --- a/xlators/debug/io-stats/src/io-stats.c +++ b/xlators/debug/io-stats/src/io-stats.c @@ -1787,8 +1787,22 @@ struct volume_options options[] = { { .key = { "latency-measurement" }, .type = GF_OPTION_TYPE_BOOL, }, - { .key = {"log-level"}, + /* XXX These are synthetic options which are actually recognized and * + * validated in addr.c, added here to get visibiliity in * + * volume set command */ + { .key = {"client-log-level"}, .type = GF_OPTION_TYPE_STR, + .default_value = "INFO", + .description = "Changes the log-level of the clients", + .value = { "DEBUG", "WARNING", "ERROR", "INFO", + "CRITICAL", "NONE", "TRACE"} + }, + { .key = {"brick-log-level"}, + .type = GF_OPTION_TYPE_STR, + .default_value = "INFO", + .description = "Changes the log-level of the bricks", + .value = { "DEBUG", "WARNING", "ERROR", "INFO", + "CRITICAL", "NONE", "TRACE"} }, { .key = {NULL} }, }; |