summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-02-10 15:45:50 +0000
committerErik Johnston <erik@matrix.org>2015-02-10 15:45:50 +0000
commitf8abbae99fe76409533518e828031de4933f38ab (patch)
treeb4be617038bab21d8ae08b5806e7859ff5ffa718
parentMerge branch 'develop' of github.com:matrix-org/synapse into state-chache (diff)
downloadsynapse-f8abbae99fe76409533518e828031de4933f38ab.tar.xz
Remove unnecessary logging
Diffstat (limited to '')
-rw-r--r--synapse/state.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/synapse/state.py b/synapse/state.py
index 64c58a3934..98aaa2be53 100644
--- a/synapse/state.py
+++ b/synapse/state.py
@@ -72,11 +72,7 @@ class StateHandler(object):
         self._state_cache = {}
 
         def f():
-            logger.debug("Pruning")
-            try:
-                self._prune_cache()
-            except:
-                logger.exception("Prune")
+            self._prune_cache()
 
         self.clock.looping_call(f, 5*1000)
 
@@ -400,7 +396,6 @@ class StateHandler(object):
         return sorted(events, key=key_func)
 
     def _prune_cache(self):
-        logger.debug("_prune_cache")
         logger.debug(
             "_prune_cache. before len: %d",
             len(self._state_cache.keys())