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
..
2021-04-14 15:34:27 +01:00
2021-12-01 07:28:23 -05:00
2023-01-31 10:33:07 +00:00
2023-01-12 10:52:07 +00:00
2022-12-13 00:54:46 +00:00
2022-08-17 10:59:05 +01:00
2022-12-13 00:54:46 +00:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2023-01-31 10:33:07 +00:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2022-08-23 11:40:00 +00:00
2023-01-27 10:16:21 -05:00
2022-06-14 07:53:42 -07:00
2022-05-26 09:04:34 -04:00
2022-06-30 19:48:04 +02:00
2022-09-08 11:18:03 +01:00
2023-02-03 08:27:31 -05:00
2022-11-24 09:09:17 +00:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2023-01-04 14:58:08 -05:00
2022-04-11 12:07:23 -04:00
2022-12-01 13:46:24 +00:00
2022-11-18 18:10:01 +00:00
2022-06-14 07:53:42 -07:00
2022-08-25 16:27:46 +00:00
2022-10-07 15:15:10 +01:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2022-06-30 19:48:04 +02:00
2022-06-14 07:53:42 -07:00
2023-01-31 10:33:07 +00:00
2022-04-11 12:07:23 -04:00
2022-08-17 10:59:05 +01:00
2022-06-14 07:53:42 -07:00
2022-04-11 12:07:23 -04:00
2022-06-14 07:53:42 -07:00
2022-06-30 19:48:04 +02:00
2022-06-14 07:53:42 -07:00
2022-06-14 07:53:42 -07:00
2022-11-22 21:33:58 +00:00