diff options
Diffstat (limited to 'talersurvey')
-rw-r--r-- | talersurvey/talerconfig.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/talersurvey/talerconfig.py b/talersurvey/talerconfig.py index 69d06a8..4a44c97 100644 --- a/talersurvey/talerconfig.py +++ b/talersurvey/talerconfig.py @@ -344,6 +344,7 @@ class TalerConfig: filename = os.path.join(xdg, "taler.conf") else: filename = os.path.expanduser("~/.config/taler.conf") + print("Loading default config: (%s)" % filename) if load_defaults: cfg.load_defaults() cfg.load_file(os.path.expanduser(filename)) @@ -496,7 +497,8 @@ class TalerConfig: value=value, filename=filename, lineno=lineno) sections[current_section][key] = entry except FileNotFoundError: - LOGGER.error("Configuration file (%s) not found", filename) + # not logging here, as this interests the final user mostly. + print("Configuration file (%s) not found" % filename) sys.exit(3) ## |