diff --git a/oslo_log/_options.py b/oslo_log/_options.py index 3a2fb2fa..24fc2c9e 100644 --- a/oslo_log/_options.py +++ b/oslo_log/_options.py @@ -98,7 +98,7 @@ logging_cli_opts = [ generic_log_opts = [ cfg.BoolOpt('use_stderr', - default=True, + default=False, help='Log output to standard error. ' + _IGNORE_MESSAGE), ] diff --git a/releasenotes/notes/use_stderr_default_false-50d846b88cf2be90.yaml b/releasenotes/notes/use_stderr_default_false-50d846b88cf2be90.yaml new file mode 100644 index 00000000..d2f413a6 --- /dev/null +++ b/releasenotes/notes/use_stderr_default_false-50d846b88cf2be90.yaml @@ -0,0 +1,5 @@ +--- +upgrade: + - Configuration option `use_stderr`'s default value is + False now, this will avoid same logs on service log and + specific log file by option --log-file.