diff --git a/setup.cfg b/setup.cfg index 62d7060..0cc643b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] description-file = README.md name = winchester -version = 0.53 +version = 0.54 author = Monsyne Dragon author_email = mdragon@rackspace.com summary = An OpenStack notification event processing library. diff --git a/winchester/worker.py b/winchester/worker.py index 8f0d20c..10cee4d 100644 --- a/winchester/worker.py +++ b/winchester/worker.py @@ -38,7 +38,7 @@ def main(): # This is a hack, but it's needed to pass the logfile name & default # loglevel into log handlers configured with a config file. (mdragon) logging.LOCAL_LOG_FILE = log_file - logging.LOCAL_DEFAULT_LEVEL = default_log_level + logging.LOCAL_DEFAULT_LEVEL = level if 'logging_config' in conf: fileConfig(conf['logging_config'])