Merge pull request #6945 from matrix-org/babolivier/fix-retention-debug-log

Fix log in message retention purge jobs
pull/6951/head
Brendan Abolivier 2020-02-19 10:12:55 +00:00 committed by GitHub
commit 5e4a438556
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

1
changelog.d/6945.bugfix Normal file
View File

@ -0,0 +1 @@
Fix errors from logging in the purge jobs related to the message retention policies support.

View File

@ -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,