Author: dmeyer
Date: Fri Dec 29 16:32:16 2006
New Revision: 2303

Modified:
   trunk/beacon/src/server/monitor.py

Log:
add some debug to trace a bug

Modified: trunk/beacon/src/server/monitor.py
==============================================================================
--- trunk/beacon/src/server/monitor.py  (original)
+++ trunk/beacon/src/server/monitor.py  Fri Dec 29 16:32:16 2006
@@ -158,6 +158,7 @@
 
         # The query result length is different, this is a change
         if len(current) != len(self.items):
+            log.info('monitor %s has changed', self.id)
             self.items = current
             self.notify_client('changed', True)
             return True
@@ -175,6 +176,7 @@
                 # if we have a full scanned db. So an empty id also triggers
                 # the update call.
                 if not i._beacon_id:
+                    log.info('monitor %s has changed', self.id)
                     self.items = current
                     self.notify_client('changed', True)
                     return True
@@ -182,6 +184,7 @@
                     small_changes = True
             if small_changes:
                 # only small stuff
+                log.info('monitor %s has changed', self.id)
                 self.items = current
                 self.notify_client('changed', False)
                 return True

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to