diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py index 5428864bb7..3bc18b4338 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py @@ -660,7 +660,7 @@ class SyncHandler(BaseHandler): ), ) - logging.debug("Room sync: %r", room_sync) + logger.debug("Room sync: %r", room_sync) defer.returnValue(room_sync) @@ -709,7 +709,7 @@ class SyncHandler(BaseHandler): ), ) - logging.debug("Room sync: %r", room_sync) + logger.debug("Room sync: %r", room_sync) defer.returnValue(room_sync)