]> khamidou — GitHub mirrors - kite.git/commitdiff
added debug log
authorkarim hamidou <khamidou@gmail.com>
Tue, 7 Jan 2014 18:21:44 +0000 (19:21 +0100)
committerkarim hamidou <khamidou@gmail.com>
Tue, 7 Jan 2014 18:21:44 +0000 (19:21 +0100)
src/back/kite/filterdaemon.py

index 517577ef967348ac05999c4239ad06a3e3aee038..47aeabc0924cdb59372edb240012175d405a274f 100755 (executable)
@@ -69,9 +69,9 @@ class DumperThread(threading.Thread):
     def run(self):
         while True:
             time.sleep(DUMPER_SLEEP_DURATION)
-            print "Dumping threads index"
             for user in self.threads_index_cache:
                 if self.threads_index_cache[user]["dirty"]:
+                    print "Dumping threads index for user %s" % user
                     self.threads_index_cache[user]["threads_index"].save()
                     self.threads_index_cache[user]["dirty"] = False