diff --git a/swiftclient/client.py b/swiftclient/client.py index 9851b1f2..40cb9fe6 100644 --- a/swiftclient/client.py +++ b/swiftclient/client.py @@ -290,6 +290,8 @@ def _import_keystone_client(auth_version): else: from keystoneclient.v2_0 import client as ksclient from keystoneclient import exceptions + # prevent keystoneclient warning us that it has no log handlers + logging.getLogger('keystoneclient').addHandler(NullHandler()) return ksclient, exceptions except ImportError: raise ClientException('''