Merge "CLI always configures logging"

This commit is contained in:
Jenkins
2014-04-17 06:27:32 +00:00
committed by Gerrit Code Review

View File

@@ -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