Improve the logging in _auth_and_persist_outliers (#11010)

Include the event ids being peristed
This commit is contained in:
Richard van der Hoff 2021-10-07 12:43:25 +01:00 committed by GitHub
parent 86af6b2f0e
commit 96fe77c254
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

1
changelog.d/11010.misc Normal file
View file

@ -0,0 +1 @@
Clean up some of the federation event authentication code for clarity.

View file

@ -1161,7 +1161,10 @@ class FederationEventHandler:
return
logger.info(
"Persisting %i of %i remaining events", len(roots), len(event_map)
"Persisting %i of %i remaining outliers: %s",
len(roots),
len(event_map),
shortstr(e.event_id for e in roots),
)
await self._auth_and_persist_fetched_events_inner(origin, room_id, roots)