mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 19:40:20 +00:00
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.
1 line
99 B
Text
1 line
99 B
Text
Fix a bug introduced in Synapse 1.68.0 where logging from the Rust module was not properly logged.
|