mirror of https://github.com/zulip/zulip.git
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:
parent
343a1396af
commit
82797dd53c
|
@ -8,7 +8,7 @@
|
|||
/var/log/zulip/ldap.log
|
||||
/var/log/zulip/manage.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/smokescreen.log
|
||||
/var/log/zulip/slow_queries.log
|
||||
|
|
|
@ -15,7 +15,7 @@ from zerver.models import Message, ScheduledMessage, get_user_by_delivery_email
|
|||
|
||||
## Setup ##
|
||||
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):
|
||||
|
|
|
@ -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")
|
||||
SOFT_DEACTIVATION_LOG_PATH = zulip_path("/var/log/zulip/soft_deactivation.log")
|
||||
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")
|
||||
AUTH_LOG_PATH = zulip_path("/var/log/zulip/auth.log")
|
||||
|
||||
|
|
Loading…
Reference in New Issue