From 3c49ae06c3fcb151d920cb3222cd3a4de6b5cdc7 Mon Sep 17 00:00:00 2001 From: Zach Aysan Date: Fri, 17 Jan 2025 06:57:40 -0500 Subject: [PATCH] fix: Set logger for skipping API usage (#5003) --- api/organisations/tasks.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/organisations/tasks.py b/api/organisations/tasks.py index ae76c28bd132..25efa8911804 100644 --- a/api/organisations/tasks.py +++ b/api/organisations/tasks.py @@ -134,6 +134,9 @@ def handle_api_usage_notifications() -> None: }, ).is_feature_enabled("api_usage_alerting") if not feature_enabled: + logger.info( + f"Skipping processing API usage for organisation {organisation.id}" + ) continue try: