diff --git a/keystoneclient/shell.py b/keystoneclient/shell.py index a4d8a1fb7..3aebaddb0 100644 --- a/keystoneclient/shell.py +++ b/keystoneclient/shell.py @@ -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