mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 14:34:47 -04:00
Add more logging around message retention policies support (#6717)
So we can debug issues like #6683 more easily
This commit is contained in:
parent
5909751936
commit
a17f64361c
3 changed files with 22 additions and 0 deletions
|
@ -294,6 +294,14 @@ class ServerConfig(Config):
|
|||
self.retention_default_min_lifetime = None
|
||||
self.retention_default_max_lifetime = None
|
||||
|
||||
if self.retention_enabled:
|
||||
logger.info(
|
||||
"Message retention policies support enabled with the following default"
|
||||
" policy: min_lifetime = %s ; max_lifetime = %s",
|
||||
self.retention_default_min_lifetime,
|
||||
self.retention_default_max_lifetime,
|
||||
)
|
||||
|
||||
self.retention_allowed_lifetime_min = retention_config.get(
|
||||
"allowed_lifetime_min"
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue