summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-01-14 09:56:26 +0000
committerErik Johnston <erik@matrix.org>2016-01-14 09:56:26 +0000
commitbce602eb4ea5d477abf818849ab3e689381a6954 (patch)
treee87e5db600486e2164a2705909c62ef6de4ab968 /synapse/handlers/sync.py
parentMerge pull request #495 from matrix-org/erikj/disable_notification (diff)
downloadsynapse-bce602eb4ea5d477abf818849ab3e689381a6954.tar.xz
Use logger not logging
Diffstat (limited to '')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py
index 7dfa2eeedb..1942268c3c 100644
--- a/synapse/handlers/sync.py
+++ b/synapse/handlers/sync.py
@@ -671,7 +671,7 @@ class SyncHandler(BaseHandler):
             room_id, sync_config, now_token, since_token,
         )
 
-        logging.debug("Recents %r", batch)
+        logger.debug("Recents %r", batch)
 
         current_state = yield self.get_state_at(room_id, now_token)
 
@@ -734,7 +734,7 @@ class SyncHandler(BaseHandler):
             leave_event.room_id, sync_config, leave_token, since_token,
         )
 
-        logging.debug("Recents %r", batch)
+        logger.debug("Recents %r", batch)
 
         state_events_at_leave = yield self.store.get_state_for_event(
             leave_event.event_id