settings: Standardize the name of the deliver_scheduled_messages logs.

This makes it match its command name, and other logfile name.
This commit is contained in:
Alex Vandiver 2021-05-17 16:22:05 -07:00 committed by Tim Abbott
parent 343a1396af
commit 82797dd53c
3 changed files with 3 additions and 3 deletions

View File

@ -8,7 +8,7 @@
/var/log/zulip/ldap.log /var/log/zulip/ldap.log
/var/log/zulip/manage.log /var/log/zulip/manage.log
/var/log/zulip/message_retention.log /var/log/zulip/message_retention.log
/var/log/zulip/scheduled_message_deliverer.log /var/log/zulip/deliver_scheduled_messages.log
/var/log/zulip/send_email.log /var/log/zulip/send_email.log
/var/log/zulip/smokescreen.log /var/log/zulip/smokescreen.log
/var/log/zulip/slow_queries.log /var/log/zulip/slow_queries.log

View File

@ -15,7 +15,7 @@ from zerver.models import Message, ScheduledMessage, get_user_by_delivery_email
## Setup ## ## Setup ##
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
log_to_file(logger, settings.SCHEDULED_MESSAGE_DELIVERER_LOG_PATH) log_to_file(logger, settings.DELIVER_SCHEDULED_MESSAGES_LOG_PATH)
class Command(BaseCommand): class Command(BaseCommand):

View File

@ -695,7 +695,7 @@ WEBHOOK_LOG_PATH = zulip_path("/var/log/zulip/webhooks_errors.log")
WEBHOOK_UNSUPPORTED_EVENTS_LOG_PATH = zulip_path("/var/log/zulip/webhooks_unsupported_events.log") WEBHOOK_UNSUPPORTED_EVENTS_LOG_PATH = zulip_path("/var/log/zulip/webhooks_unsupported_events.log")
SOFT_DEACTIVATION_LOG_PATH = zulip_path("/var/log/zulip/soft_deactivation.log") SOFT_DEACTIVATION_LOG_PATH = zulip_path("/var/log/zulip/soft_deactivation.log")
TRACEMALLOC_DUMP_DIR = zulip_path("/var/log/zulip/tracemalloc") TRACEMALLOC_DUMP_DIR = zulip_path("/var/log/zulip/tracemalloc")
SCHEDULED_MESSAGE_DELIVERER_LOG_PATH = zulip_path("/var/log/zulip/scheduled_message_deliverer.log") DELIVER_SCHEDULED_MESSAGES_LOG_PATH = zulip_path("/var/log/zulip/deliver_scheduled_messages.log")
RETENTION_LOG_PATH = zulip_path("/var/log/zulip/message_retention.log") RETENTION_LOG_PATH = zulip_path("/var/log/zulip/message_retention.log")
AUTH_LOG_PATH = zulip_path("/var/log/zulip/auth.log") AUTH_LOG_PATH = zulip_path("/var/log/zulip/auth.log")