summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-02-19 10:12:55 +0000
committerGitHub <noreply@github.com>2020-02-19 10:12:55 +0000
commit5e4a438556f2a198831bfbb23dd0007304c7766b (patch)
tree012e9f69dba17d92ef93e9e92ef7d8f899ff75f1
parentLimit size of get_auth_chain_ids query (#6947) (diff)
parentUpdate changelog.d/6945.bugfix (diff)
downloadsynapse-5e4a438556f2a198831bfbb23dd0007304c7766b.tar.xz
Merge pull request #6945 from matrix-org/babolivier/fix-retention-debug-log
Fix log in message retention purge jobs
-rw-r--r--changelog.d/6945.bugfix1
-rw-r--r--synapse/handlers/pagination.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/6945.bugfix b/changelog.d/6945.bugfix
new file mode 100644
index 0000000000..8561be16a4
--- /dev/null
+++ b/changelog.d/6945.bugfix
@@ -0,0 +1 @@
+Fix errors from logging in the purge jobs related to the message retention policies support.
diff --git a/synapse/handlers/pagination.py b/synapse/handlers/pagination.py
index caf841a643..9bf6d39668 100644
--- a/synapse/handlers/pagination.py
+++ b/synapse/handlers/pagination.py
@@ -133,7 +133,7 @@ class PaginationHandler(object):
             include_null = False
 
         logger.info(
-            "[purge] Running purge job for %d < max_lifetime <= %d (include NULLs = %s)",
+            "[purge] Running purge job for %s < max_lifetime <= %s (include NULLs = %s)",
             min_ms,
             max_ms,
             include_null,