Logging improvements

Some logging tweaks to help with debugging incoming federation transactions
This commit is contained in:
Richard van der Hoff 2018-09-26 07:56:06 +01:00
parent d4e0861ff9
commit e70b4ce069
3 changed files with 17 additions and 2 deletions

View file

@ -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: