Skip to content

Commit

Permalink
Merge pull request matrix-org#6945 from matrix-org/babolivier/fix-ret…
Browse files Browse the repository at this point in the history
…ention-debug-log

Fix log in message retention purge jobs
  • Loading branch information
babolivier authored Feb 19, 2020
2 parents 5a5abd5 + fa64f83 commit 5e4a438
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6945.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix errors from logging in the purge jobs related to the message retention policies support.
2 changes: 1 addition & 1 deletion synapse/handlers/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def purge_history_for_rooms_in_range(self, min_ms, max_ms):
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,
Expand Down

0 comments on commit 5e4a438

Please sign in to comment.