MatrixSynapse/rust
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
..
benches Fix running cargo bench & test in CI. (#14943) 2023-01-31 08:00:07 -05:00
src Reload the pyo3-log config when the Python logging config changes. (#14976) 2023-02-03 08:27:31 -05:00
Cargo.toml Make extension-module optional, but default. (#14965) 2023-02-01 19:01:06 -05:00
build.rs Implement push rule evaluation in Rust. (#13838) 2022-09-29 16:12:09 +01:00