softlayer / softlayer-object-storage-python

SoftLayer Object Storage Python Client
Other
19 stars 30 forks source link

consolidate logging in object_storage package #21

Open sleerssen opened 10 years ago

sleerssen commented 10 years ago

There are (at least) three logging instances being created in the object_storage package, and that makes it a bit messy for callers to redirect logging to another logging instance owned by the caller. It would be nicer if object_storage.__init__.py created a singleton that the rest of the library used. Then replacing the logging instance would be as simple as reassigning the top level logger with the callers logger.