From: karim hamidou Date: Tue, 7 Jan 2014 18:21:44 +0000 (+0100) Subject: added debug log X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b8f5887ffbd45cffb23e64ac3a4fbb26a955ea37;p=kite.git added debug log --- diff --git a/src/back/kite/filterdaemon.py b/src/back/kite/filterdaemon.py index 517577e..47aeabc 100755 --- a/src/back/kite/filterdaemon.py +++ b/src/back/kite/filterdaemon.py @@ -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