From c7b823525e9598ee4de76099d9ca5ea1ce3977f4 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Mon, 8 Feb 2021 14:45:39 +0000 Subject: Some logging for locally send to_device --- synapse/storage/databases/main/deviceinbox.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/synapse/storage/databases/main/deviceinbox.py b/synapse/storage/databases/main/deviceinbox.py index 31f70ac5ef..a786aeff86 100644 --- a/synapse/storage/databases/main/deviceinbox.py +++ b/synapse/storage/databases/main/deviceinbox.py @@ -474,6 +474,10 @@ class DeviceInboxWorkerStore(SQLBaseStore): ): assert self._can_write_to_device + logger.info("STORING TODEVICE MESSAGE STREAM ID %s: %s", + stream_id, + messages_by_user_then_device) + local_by_user_then_device = {} for user_id, messages_by_device in messages_by_user_then_device.items(): messages_json_for_user = {} -- cgit 1.5.1