mirror of
https://mau.dev/maunium/synapse.git
synced 2024-09-03 08:02:14 +00:00
![Patrick Cloke](/assets/img/avatar_default.png)
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.
4 lines
125 B
Python
4 lines
125 B
Python
def sum_as_string(a: int, b: int) -> str: ...
|
|
def get_rust_file_digest() -> str: ...
|
|
def reset_logging_config() -> None: ...
|