-
- Downloads
Include eventid in log lines when processing incoming federation transactions (#3959)
when processing incoming transactions, it can be hard to see what's going on, because we process a bunch of stuff in parallel, and because we may end up recursively working our way through a chain of three or four events. This commit creates a way to use logcontexts to add the relevant event ids to the log lines.
Showing
- changelog.d/3959.feature 1 addition, 0 deletionschangelog.d/3959.feature
- synapse/federation/federation_server.py 17 additions, 15 deletionssynapse/federation/federation_server.py
- synapse/handlers/federation.py 39 additions, 26 deletionssynapse/handlers/federation.py
- synapse/util/logcontext.py 37 additions, 4 deletionssynapse/util/logcontext.py
- tests/test_federation.py 16 additions, 12 deletionstests/test_federation.py
- tests/util/test_logcontext.py 5 additions, 0 deletionstests/util/test_logcontext.py
Loading
Please register or sign in to comment