0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-11-16 06:51:46 +01:00
synapse/tests/test_utils
Patrick Cloke 8e9fc28c6a
Reload the pyo3-log config when the Python logging config changes. (#14976)
Since pyo3-log is initialized very early in the Python start-up
it caches the state of the loggers before they're fully initialized
(and thus are essentially disabled). Whenever we reload the
logging configuration we now also tell pyo3-log to discard
any cached logging configuration it has; it will refetch the
current logging configuration from Python at the next point
it logs.

This fixes Rust log lines not appearing in the homeserver logs.
2023-02-03 08:27:31 -05:00
..
__init__.py Refactor OIDC tests to better mimic an actual OIDC provider. (#13910) 2022-10-25 14:25:02 +00:00
event_injection.py Rename storage classes (#12913) 2022-05-31 12:17:50 +00:00
html_parsers.py Use inline type hints in tests/ (#10350) 2021-07-13 11:52:58 +01:00
logging_setup.py Reload the pyo3-log config when the Python logging config changes. (#14976) 2023-02-03 08:27:31 -05:00
oidc.py Support OIDC backchannel logouts (#11414) 2022-10-31 13:07:30 -04:00