anonymousland-synapse/synapse
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
..
_scripts Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
api When redacting, keep event fields around that maintain the historical event structure intact (MSC2716) (#10538) 2021-08-09 20:23:31 -05:00
app Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
appservice Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
config Add a setting to disable TLS for sending email (#10546) 2021-08-06 10:13:34 +00:00
crypto Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
events Clean up some logging in the federation event handler (#10591) 2021-08-16 13:19:02 +01:00
federation Clean up some logging in the federation event handler (#10591) 2021-08-16 13:19:02 +01:00
groups Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
handlers Clean up some logging in the federation event handler (#10591) 2021-08-16 13:19:02 +01:00
http support federation queries through http connect proxy (#10475) 2021-08-11 15:34:59 +01:00
logging Fix PeriodicallyFlushingMemoryHandler inhibiting application shutdown (#10517) 2021-08-03 14:28:30 +01:00
metrics [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00
module_api Add get_userinfo_by_id method to ModuleApi (#9581) 2021-08-04 10:40:25 +00:00
push Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
replication Fix up type hints for Twisted 21.7 (#10490) 2021-07-28 12:04:11 +00:00
res/templates Port "Allow users to click account renewal links multiple times without hitting an 'Invalid Token' page #74" from synapse-dinsic (#9832) 2021-04-19 19:16:34 +01:00
rest Move /batch_send to /v2_alpha directory (MSC2716) (#10576) 2021-08-13 14:37:24 -05:00
server_notices Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
spam_checker_api Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
state Add type hints to state handler. (#10482) 2021-07-26 12:49:53 -04:00
static Add initial support for a "pick your IdP" page (#9017) 2021-01-05 11:25:28 +00:00
storage Add support for MSC2716 marker events (#10498) 2021-08-04 12:07:57 -05:00
streams Add a return type to parse_string. (#10438) 2021-07-21 09:47:56 -04:00
util Convert Transaction and Edu object to attrs (#10542) 2021-08-06 09:39:59 -04:00
__init__.py 1.40.0 2021-08-10 13:50:58 +01:00
event_auth.py Support MSC3289: Room version 8 (#10449) 2021-08-09 10:46:39 +02:00
notifier.py Generics for ObservableDeferred (#10491) 2021-07-28 19:55:50 +00:00
python_dependencies.py Use inline type hints in various other places (in synapse/) (#10380) 2021-07-15 11:02:43 +01:00
server.py Add a setting to disable TLS for sending email (#10546) 2021-08-06 10:13:34 +00:00
types.py Add get_userinfo_by_id method to ModuleApi (#9581) 2021-08-04 10:40:25 +00:00
visibility.py [pyupgrade] synapse/ (#10348) 2021-07-19 15:28:05 +01:00