settings: Fix an out-of-date comment on EVENT_LOG_DIR.

This commit is contained in:
Tim Abbott 2019-11-13 12:23:51 -08:00
parent 0d20145b93
commit 0f4b6dd0c1
1 changed files with 4 additions and 2 deletions

View File

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