forked-synapse/synapse/handlers
Richard van der Hoff 39230d2171
Clean up some LoggingContext stuff (#7120)
* Pull Sentinel out of LoggingContext

... and drop a few unnecessary references to it

* Factor out LoggingContext.current_context

move `current_context` and `set_context` out to top-level functions.

Mostly this means that I can more easily trace what's actually referring to
LoggingContext, but I think it's generally neater.

* move copy-to-parent into `stop`

this really just makes `start` and `stop` more symetric. It also means that it
behaves correctly if you manually `set_log_context` rather than using the
context manager.

* Replace `LoggingContext.alive` with `finished`

Turn `alive` into `finished` and make it a bit better defined.
2020-03-24 14:45:33 +00:00
..
ui_auth
__init__.py
_base.py
account_data.py
account_validity.py
acme_issuing_service.py
acme.py
admin.py
appservice.py
auth.py
deactivate_account.py
device.py
devicemessage.py
directory.py
e2e_keys.py
e2e_room_keys.py
events.py
federation.py
groups_local.py
identity.py
initial_sync.py
message.py Use the proper error code when a canonical alias that does not exist is used. (#7109) 2020-03-23 15:21:54 -04:00
pagination.py
presence.py
profile.py
read_marker.py
receipts.py
register.py
room_list.py
room_member_worker.py
room_member.py
room.py
saml_handler.py
search.py
set_password.py
state_deltas.py
stats.py
sync.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
typing.py
user_directory.py