diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2022-03-25 14:44:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-25 14:44:57 +0000 |
commit | 38adf14998d2f727d689cfcfc7363aac52aaff9f (patch) | |
tree | 7c305c3e00cf8b320bfb2430a8844ce87c97f0bb /synapse | |
parent | Refactor `create_new_client_event` to use a new parameter, `state_event_ids`,... (diff) | |
download | synapse-38adf14998d2f727d689cfcfc7363aac52aaff9f.tar.xz |
Enhance logging for inbound federation events (#12301)
It is currently rather hard to see which rooms are causing inbound federation traffic. Add the room id to the logs.
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index af2d0f7d79..c7400c737b 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -1092,7 +1092,7 @@ class FederationServer(FederationBase): # has started processing). while True: async with lock: - logger.info("handling received PDU: %s", event) + logger.info("handling received PDU in room %s: %s", room_id, event) try: with nested_logging_context(event.event_id): await self._federation_event_handler.on_receive_pdu( |