summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Minar <miminar@redhat.com>2013-07-25 16:00:41 +0200
committerMichal Minar <miminar@redhat.com>2013-07-26 14:30:26 +0200
commit7f56b4dacb45f397d3b95a67453252e9c6755501 (patch)
tree3dccd674100ed0c848e14e6420c32295586b8f0b
parent77c6da6d0b45f1aab809182d05608e67a3818311 (diff)
downloadopenlmi-providers-7f56b4dacb45f397d3b95a67453252e9c6755501.tar.gz
openlmi-providers-7f56b4dacb45f397d3b95a67453252e9c6755501.tar.xz
openlmi-providers-7f56b4dacb45f397d3b95a67453252e9c6755501.zip
software: renamed option names to CamelCase
-rw-r--r--src/software/lmi/software/yumdb/util.py6
1 files 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