config.py

changeset 4
d72c4844e791
parent 3
4cad934aa9ce
child 21
c36e549a7f12
--- a/config.py	Fri Jan 19 14:42:27 2018 +0000
+++ b/config.py	Fri Jan 19 15:41:45 2018 +0000
@@ -7,6 +7,7 @@
 import os
 import xdg
 import string
+import logging
 from functools import reduce
 
 #
@@ -112,6 +113,8 @@
 
 cfgfile=os.path.join(xdg.XDG_CONFIG_HOME, "borgend", "config.yaml")
 
+logging.info("Reading configuration file %s" % cfgfile)
+
 if not (os.path.exists(cfgfile) and os.path.isfile(cfgfile)):
     raise SystemExit(f'Configuration file required: {cfgfile}')
 

mercurial