Explorar el Código

more debug output

digital hace 8 años
padre
commit
4615c72616
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      lib/beewatch/__init__.py

+ 2 - 0
lib/beewatch/__init__.py

@@ -53,6 +53,7 @@ class Configure(object):
         }
         # Configure the Controllers first
         for name,properties in config.get("controllers",{}).items():
+            log.debug("configuring {}".format(name))
             target = properties.pop("target")
             if not callable(target):
                 target = self.str_to_callable(target)
@@ -64,6 +65,7 @@ class Configure(object):
 
         # Next configure the commands
         for name,properties in config.get("commands",{}).items():
+            log.debug("configuring {}".format(name))
             function = properties.pop("function")
             ctrl = properties.pop("controller")
             if not callable(ctrl):