summary refs log tree commit diff
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2022-10-21 16:03:44 +0100
committerGitHub <noreply@github.com>2022-10-21 16:03:44 +0100
commitd24346f53055eae7fb8e9038ef35fa843790742b (patch)
tree12bc50908f39225fb9b97c92cbaeb9ab03acbcb2
parentShow erasure status when listing users in the Admin API (#14205) (diff)
downloadsynapse-d24346f53055eae7fb8e9038ef35fa843790742b.tar.xz
Fix logging error on SIGHUP (#14258)
-rw-r--r--changelog.d/14258.bugfix2
-rw-r--r--synapse/app/_base.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/changelog.d/14258.bugfix b/changelog.d/14258.bugfix
new file mode 100644
index 0000000000..de97945844
--- /dev/null
+++ b/changelog.d/14258.bugfix
@@ -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.
+
diff --git a/synapse/app/_base.py b/synapse/app/_base.py
index 000912e86e..a683ebf4cb 100644
--- a/synapse/app/_base.py
+++ b/synapse/app/_base.py
@@ -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__,
         )