mirror of https://github.com/zulip/zulip.git
webhooks: Update API_KEY_ONLY_WEBHOOK_LOG_PATH to WEBHOOK_LOG_PATH.
The existence of "API_KEY" in this configuration variable is confusing. It is fundamentally about webhooks.
This commit is contained in:
parent
cf6ebb9c8d
commit
e2ab7b9e17
|
@ -50,7 +50,7 @@ if settings.ZILENCER_ENABLED:
|
||||||
from zilencer.models import RemoteZulipServer, get_remote_server_by_uuid
|
from zilencer.models import RemoteZulipServer, get_remote_server_by_uuid
|
||||||
|
|
||||||
webhook_logger = logging.getLogger("zulip.zerver.webhooks")
|
webhook_logger = logging.getLogger("zulip.zerver.webhooks")
|
||||||
log_to_file(webhook_logger, settings.API_KEY_ONLY_WEBHOOK_LOG_PATH)
|
log_to_file(webhook_logger, settings.WEBHOOK_LOG_PATH)
|
||||||
|
|
||||||
webhook_unsupported_events_logger = logging.getLogger("zulip.zerver.webhooks.unsupported")
|
webhook_unsupported_events_logger = logging.getLogger("zulip.zerver.webhooks.unsupported")
|
||||||
log_to_file(webhook_unsupported_events_logger,
|
log_to_file(webhook_unsupported_events_logger,
|
||||||
|
|
|
@ -684,7 +684,7 @@ QUEUE_STATS_DIR = zulip_path("/var/log/zulip/queue_stats")
|
||||||
DIGEST_LOG_PATH = zulip_path("/var/log/zulip/digest.log")
|
DIGEST_LOG_PATH = zulip_path("/var/log/zulip/digest.log")
|
||||||
ANALYTICS_LOG_PATH = zulip_path("/var/log/zulip/analytics.log")
|
ANALYTICS_LOG_PATH = zulip_path("/var/log/zulip/analytics.log")
|
||||||
ANALYTICS_LOCK_DIR = zulip_path("/home/zulip/deployments/analytics-lock-dir")
|
ANALYTICS_LOCK_DIR = zulip_path("/home/zulip/deployments/analytics-lock-dir")
|
||||||
API_KEY_ONLY_WEBHOOK_LOG_PATH = zulip_path("/var/log/zulip/webhooks_errors.log")
|
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")
|
||||||
|
|
Loading…
Reference in New Issue