From 7f56b4dacb45f397d3b95a67453252e9c6755501 Mon Sep 17 00:00:00 2001 From: Michal Minar Date: Thu, 25 Jul 2013 16:00:41 +0200 Subject: software: renamed option names to CamelCase --- src/software/lmi/software/yumdb/util.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/software/lmi/software/yumdb/util.py b/src/software/lmi/software/yumdb/util.py index 7c3d364..6f4622c 100644 --- a/src/software/lmi/software/yumdb/util.py +++ b/src/software/lmi/software/yumdb/util.py @@ -85,18 +85,18 @@ def setup_logging(): logging_setup = False if cp.has_option('YumWorkerLog', 'file_config'): try: - file_path = config.file_path('YumWorkerLog', 'file_config') + file_path = config.file_path('YumWorkerLog', 'FileConfig') logging.config.fileConfig(file_path) logging_setup = True except Exception: pass if logging_setup is False: - out = config.get_safe('YumWorkerLog', 'output_file') + out = config.get_safe('YumWorkerLog', 'OutputFile') if out is not None: try: defaults = DEBUG_LOGGING_CONFIG.copy() defaults["handlers"]["file"]["filename"] = out - level = config.get_safe('YumWorkerLog', 'level') + level = config.get_safe('YumWorkerLog', 'Level') level = cmpi_logging.LOGGING_LEVELS[level.lower()] defaults["handlers"]["file"]["level"] = level defaults["root"]["level"] = level -- cgit