Merge "CLI always configures logging"
This commit is contained in:
@@ -383,7 +383,11 @@ class OpenStackIdentityShell(object):
|
||||
return 0
|
||||
|
||||
if args.debug:
|
||||
logging.basicConfig(level=logging.DEBUG)
|
||||
logging_level = logging.DEBUG
|
||||
else:
|
||||
logging_level = logging.WARNING
|
||||
|
||||
logging.basicConfig(level=logging_level)
|
||||
|
||||
# TODO(heckj): supporting backwards compatibility with environment
|
||||
# variables. To be removed after DEVSTACK is updated, ideally in
|
||||
|
Reference in New Issue
Block a user