diff options
-rw-r--r-- | docs/source/history.rst | 4 | ||||
-rw-r--r-- | setup.py | 2 | ||||
-rw-r--r-- | stevedore/__init__.py | 6 |
3 files changed, 11 insertions, 1 deletions
diff --git a/docs/source/history.rst b/docs/source/history.rst index 598b961..278269f 100644 --- a/docs/source/history.rst +++ b/docs/source/history.rst @@ -2,6 +2,10 @@ History ========= +0.7.1 + + - Fix an issue with logging configuration. + 0.7 - Add memoization to the entrypoint scanning code in @@ -16,7 +16,7 @@ install_requires = ['distribute', setup( name='stevedore', - version='0.7', + version='0.7.1', description='Manage dynamic plugins for Python applications', long_description=long_description, diff --git a/stevedore/__init__.py b/stevedore/__init__.py index 9b19761..f61f605 100644 --- a/stevedore/__init__.py +++ b/stevedore/__init__.py @@ -3,3 +3,9 @@ from .enabled import EnabledExtensionManager from .named import NamedExtensionManager from .hook import HookManager from .driver import DriverManager + +import logging + +# Configure a NullHandler for our log messages in case +# the app we're used from does not set up logging. +logging.getLogger(__name__).addHandler(logging.NullHandler()) |