Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit d24346f

Browse files
authored
Fix logging error on SIGHUP (#14258)
1 parent 1433b5d commit d24346f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

changelog.d/14258.bugfix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
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.
2+

synapse/app/_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ def reload_cache_config(config: HomeServerConfig) -> None:
558558
logger.warning(f)
559559
else:
560560
logger.debug(
561-
"New cache config. Was:\n %s\nNow:\n",
561+
"New cache config. Was:\n %s\nNow:\n %s",
562562
previous_cache_config.__dict__,
563563
config.caches.__dict__,
564564
)

0 commit comments

Comments
 (0)