summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--voctocore/lib/config.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/voctocore/lib/config.py b/voctocore/lib/config.py
index 3075f61..df0ff9a 100644
--- a/voctocore/lib/config.py
+++ b/voctocore/lib/config.py
@@ -1,4 +1,5 @@
import os.path
+import logging
from configparser import SafeConfigParser
from lib.args import Args
@@ -23,4 +24,10 @@ if Args.ini_file is not None:
files.append(Args.ini_file)
Config = SafeConfigParser()
-Config.read(files)
+readfiles = Config.read(files)
+
+log = logging.getLogger('ConfigParser')
+log.debug('considered config-files: \n%s',
+ "\n".join(["\t\t"+os.path.normpath(file) for file in files]) )
+log.debug('successfully parsed config-files: \n%s',
+ "\n".join(["\t\t"+os.path.normpath(file) for file in readfiles]) )