Do not log to stdout by default
Stdout is for program output, not for logging. By sending log messages to stdout, openstacksdk breaks CLI output. Change-Id: I3a613c44230d9c6ac39980ce44196acec14fa31d
This commit is contained in:
parent
ba96fe8507
commit
f088362797
@ -81,7 +81,7 @@ def enable_logging(
|
||||
:rtype: None
|
||||
"""
|
||||
if not stream and not path:
|
||||
stream = sys.stdout
|
||||
stream = sys.stderr
|
||||
|
||||
if http_debug:
|
||||
debug = True
|
||||
|
Loading…
x
Reference in New Issue
Block a user