summary refs log tree commit diff
path: root/synapse/replication/http/federation.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2023-10-14 17:57:27 +0100
committerGitHub <noreply@github.com>2023-10-14 17:57:27 +0100
commit109882230c309d48df143ad370192f0541b636f3 (patch)
treed58acdc7dca98eee9bcb9c3b841b859947f5a934 /synapse/replication/http/federation.py
parentFix typo in useful_sql_for_admins.md (#16477) (diff)
downloadsynapse-109882230c309d48df143ad370192f0541b636f3.tar.xz
Clean up logging on event persister endpoints (#16488)
Diffstat (limited to 'synapse/replication/http/federation.py')
-rw-r--r--synapse/replication/http/federation.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/synapse/replication/http/federation.py b/synapse/replication/http/federation.py
index 53ad327030..e728297dce 100644
--- a/synapse/replication/http/federation.py
+++ b/synapse/replication/http/federation.py
@@ -138,7 +138,11 @@ class ReplicationFederationSendEventsRestServlet(ReplicationEndpoint):
 
                 event_and_contexts.append((event, context))
 
-        logger.info("Got %d events from federation", len(event_and_contexts))
+        logger.info(
+            "Got batch of %i events to persist to room %s",
+            len(event_and_contexts),
+            room_id,
+        )
 
         max_stream_id = await self.federation_event_handler.persist_events_and_notify(
             room_id, event_and_contexts, backfilled