retention: Log progress through the archiving process.

This commit is contained in:
Mateusz Mandera
2019-06-10 19:20:09 +02:00
committed by Tim Abbott
parent e3c7a5d896
commit cbee5beeac
2 changed files with 33 additions and 2 deletions

View File

@@ -1065,6 +1065,7 @@ ZULIP_PATHS = [
("TRACEMALLOC_DUMP_DIR", "/var/log/zulip/tracemalloc"),
("SCHEDULED_MESSAGE_DELIVERER_LOG_PATH",
"/var/log/zulip/scheduled_message_deliverer.log"),
("RETENTION_LOG_PATH", "/var/log/zulip/message_retention.log"),
]
# The Event log basically logs most significant database changes,
@@ -1283,6 +1284,10 @@ LOGGING = {
'zulip.queue': {
'level': 'WARNING',
},
'zulip.retention': {
'handlers': ['file', 'errors_file'],
'propagate': False,
},
'zulip.soft_deactivation': {
'handlers': ['file', 'errors_file'],
'propagate': False,