config reading: log correct filenames
[hippotat] / hippotatlib / __init__.py
index 588012a..1460d5a 100644 (file)
@@ -541,7 +541,7 @@ def common_startup(process_cfg):
   def readconfig(pathname, mandatory=True):
     def log(m, p=pathname):
       if not DBG.CONFIG in debug_set: return
-      log_debug_config('%s: %s' % (m, pathname))
+      log_debug_config('%s: %s' % (m, p))
 
     try:
       files = os.listdir(pathname)