forked from MirrorHub/synapse
Fix logging error on SIGHUP (#14258)
This commit is contained in:
parent
1433b5d5b6
commit
d24346f530
2 changed files with 3 additions and 1 deletions
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)
|
logger.warning(f)
|
||||||
else:
|
else:
|
||||||
logger.debug(
|
logger.debug(
|
||||||
"New cache config. Was:\n %s\nNow:\n",
|
"New cache config. Was:\n %s\nNow:\n %s",
|
||||||
previous_cache_config.__dict__,
|
previous_cache_config.__dict__,
|
||||||
config.caches.__dict__,
|
config.caches.__dict__,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue