debugging
authorBernhard Tittelbach <xro@realraum.at>
Mon, 26 Jul 2010 23:13:59 +0000 (23:13 +0000)
committerBernhard Tittelbach <xro@realraum.at>
Mon, 26 Jul 2010 23:13:59 +0000 (23:13 +0000)
track-presence.py

index 91b0123..c71be15 100755 (executable)
@@ -338,6 +338,8 @@ class StatusTracker: #(threading.Thread):
       self.lock.acquire()
       self.door_open_previously = self.door_open
     self.lock.release()
+    loggin.debug("doorClosed: open: %s, who: %s, how:%s, manual_switch: %s; physically_present: %s" % (self.door_open,self.door_who,how,self.door_manual_switch_used,self.door_manual_switch_used));
+    
 
   def movementDetected(self):
     self.uwscfg.checkConfigUpdates()