Clean up some logging in the federation event handler (#10591)
* Include outlier status in `str(event)` In places where we log event objects, knowing whether or not you're dealing with an outlier is super useful. * Remove duplicated logging in get_missing_events When we process events received from get_missing_events, we log them twice (once in `_get_missing_events_for_pdu`, and once in `on_receive_pdu`). Reduce the duplication by removing the logging in `on_receive_pdu`, and ensuring the call sites do sensible logging. * log in `on_receive_pdu` when we already have the event * Log which prev_events we are missing * changelog
Showing
- changelog.d/10591.misc 1 addition, 0 deletionschangelog.d/10591.misc
- synapse/events/__init__.py 2 additions, 1 deletionsynapse/events/__init__.py
- synapse/federation/federation_server.py 1 addition, 0 deletionssynapse/federation/federation_server.py
- synapse/handlers/federation.py 24 additions, 28 deletionssynapse/handlers/federation.py
Loading
Please register or sign in to comment