From 0f4b6dd0c1a732d8084376396cbc89f63ee84cb7 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 13 Nov 2019 12:23:51 -0800 Subject: [PATCH] settings: Fix an out-of-date comment on EVENT_LOG_DIR. --- zproject/settings.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/zproject/settings.py b/zproject/settings.py index 070804da00..b89518cf1f 100644 --- a/zproject/settings.py +++ b/zproject/settings.py @@ -649,8 +649,10 @@ TRACEMALLOC_DUMP_DIR = zulip_path("/var/log/zulip/tracemalloc") SCHEDULED_MESSAGE_DELIVERER_LOG_PATH = zulip_path("/var/log/zulip/scheduled_message_deliverer.log") RETENTION_LOG_PATH = zulip_path("/var/log/zulip/message_retention.log") -# The Event log basically logs most significant database changes, -# which can be useful for debugging. +# The EVENT_LOGS feature is an ultra-legacy piece of code, which +# originally logged all significant database changes for debugging. +# We plan to replace it with RealmAuditLog, stored in the database, +# everywhere that code mentioning it appears. if EVENT_LOGS_ENABLED: EVENT_LOG_DIR = zulip_path("/home/zulip/logs/event_log") # type: Optional[str] else: