diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-03 08:27:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-03 08:27:31 -0500 |
commit | 8e9fc28c6aff6bb1aa960dfde4f9736fee1ae4fb (patch) | |
tree | 029fbdf0db2b55a95cb44fabe42819ca101c08f4 /changelog.d/14938.misc | |
parent | Skip unused calculations in sync handler. (#14908) (diff) | |
download | synapse-8e9fc28c6aff6bb1aa960dfde4f9736fee1ae4fb.tar.xz |
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.
Diffstat (limited to 'changelog.d/14938.misc')
0 files changed, 0 insertions, 0 deletions