summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-09-26 07:56:06 +0100
committerRichard van der Hoff <richard@matrix.org>2018-09-26 17:36:14 +0100
commite70b4ce06920102e2460dfb65bc357e2d7e8b794 (patch)
tree1ba99e31d02459bab14b4783984fc1e04b37b10c /synapse/handlers/federation.py
parentReduce the load on our CI (#3957) (diff)
downloadsynapse-e70b4ce06920102e2460dfb65bc357e2d7e8b794.tar.xz
Logging improvements
Some logging tweaks to help with debugging incoming federation transactions
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index 2ccdc3bfa7..a70ae8c830 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -572,6 +572,10 @@ class FederationHandler(BaseHandler):
                     })
                     seen_ids.add(e.event_id)
 
+                logger.info(
+                    "[%s %s] persisting newly-received auth/state events %s",
+                    room_id, event_id, [e["event"].event_id for e in event_infos]
+                )
                 yield self._handle_new_events(origin, event_infos)
 
             try: