mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-19 23:14:19 -05:00
Fix logging error on SIGHUP (#14258)
This commit is contained in:
parent
1433b5d5b6
commit
d24346f530
2
changelog.d/14258.bugfix
Normal file
2
changelog.d/14258.bugfix
Normal file
@ -0,0 +1,2 @@
|
||||
Fix a bug introduced in Synapse 1.60.0 which caused an error to be logged when Synapse received a SIGHUP signal, and debug logging was enabled.
|
||||
|
@ -558,7 +558,7 @@ def reload_cache_config(config: HomeServerConfig) -> None:
|
||||
logger.warning(f)
|
||||
else:
|
||||
logger.debug(
|
||||
"New cache config. Was:\n %s\nNow:\n",
|
||||
"New cache config. Was:\n %s\nNow:\n %s",
|
||||
previous_cache_config.__dict__,
|
||||
config.caches.__dict__,
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user