Skip to content
Snippets Groups Projects
Commit f8abbae9 authored by Erik Johnston's avatar Erik Johnston
Browse files

Remove unnecessary logging

parent 794fe2ca
No related branches found
No related tags found
No related merge requests found
......@@ -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())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment