forked-synapse/synapse/events
Richard van der Hoff 2d9ca4ca77
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
2021-08-16 13:19:02 +01:00
..
__init__.py Clean up some logging in the federation event handler (#10591) 2021-08-16 13:19:02 +01:00
builder.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
presence_router.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
snapshot.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
spamcheck.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
third_party_rules.py Port the ThirdPartyEventRules module interface to the new generic interface (#10386) 2021-07-20 12:39:46 +02:00
utils.py When redacting, keep event fields around that maintain the historical event structure intact (MSC2716) (#10538) 2021-08-09 20:23:31 -05:00
validator.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00