From 30733d4194c237628823e25f6b65f56b8f780afb Mon Sep 17 00:00:00 2001 From: Andrey Kurilin Date: Wed, 14 Feb 2018 19:31:27 +0200 Subject: [PATCH] [cfg] Use stderr for logging by default It is quite important for json-like output of results in CLI. Change-Id: I0e2afdc165a7f65763597cb354d9c2acdcebdc07 --- etc/rally/rally.conf.sample | 2 +- setup.cfg | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/rally/rally.conf.sample b/etc/rally/rally.conf.sample index f6d2effe..1f41ac6a 100644 --- a/etc/rally/rally.conf.sample +++ b/etc/rally/rally.conf.sample @@ -61,7 +61,7 @@ # Log output to standard error. This option is ignored if # log_config_append is set. (boolean value) -#use_stderr = false +#use_stderr = true # Format string to use for log messages with context. (string value) #logging_context_format_string = %(asctime)s.%(msecs)03d %(process)d %(levelname)s %(name)s [%(request_id)s %(user_identity)s] %(instance)s%(message)s diff --git a/setup.cfg b/setup.cfg index 6d530e72..a5dff1f7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,6 +34,8 @@ console_scripts = rally-manage = rally.cli.manage:main oslo.config.opts = rally = rally.common.opts:list_opts +oslo.config.opts.defaults = + rally = rally.common.opts:update_opt_defaults [global] setup-hooks =