e566f77a6e

keystoneclient isn't adding a NullHandler to its logger, so we see 'No handlers could be found for logger...' messages when using the swift cli with keystone auth. Since keystoneclient follows the usual pattern of naming loggers from module name, we can add a NullHandler to the 'keystoneclient' logger to handle any logging from the library. Note that this makes no change to keystoneclient logging being emitted when using 'swift --debug' or 'swift --info'. No test because I am not sure how to usefully test this without ending up just testing a mock of keystoneclient. Change-Id: Ic81cf8e5a590ae9224d35e3a5b1c5f2a8c33835a
Python bindings to the OpenStack Object Storage API
This is a python client for the Swift API. There's a Python API (the
swiftclient
module), and a command-line script
(swift
).
You can find the documentation online.
Development takes place via the usual OpenStack processes as outlined in the OpenStack wiki. The master repository is on GitHub.
This code is based on original the client previously included with OpenStack's swift The python-swiftclient is licensed under the Apache License like the rest of OpenStack.
Contents:
Description
Languages
Python
99.9%
Shell
0.1%