diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-14 09:56:26 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-14 09:56:26 +0000 |
commit | bce602eb4ea5d477abf818849ab3e689381a6954 (patch) | |
tree | e87e5db600486e2164a2705909c62ef6de4ab968 /synapse | |
parent | Merge pull request #495 from matrix-org/erikj/disable_notification (diff) | |
download | synapse-bce602eb4ea5d477abf818849ab3e689381a6954.tar.xz |
Use logger not logging
Diffstat (limited to 'synapse')
-rw-r--r-- | synapse/handlers/sync.py | 4 |
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 |