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 | |
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')
-rw-r--r-- | changelog.d/14976.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/14976.bugfix b/changelog.d/14976.bugfix new file mode 100644 index 0000000000..0cde046c0e --- /dev/null +++ b/changelog.d/14976.bugfix @@ -0,0 +1 @@ +Fix a bug introduced in Synapse 1.68.0 where logging from the Rust module was not properly logged. |