Skip to content

Commit b2d2265

Browse files
committed
Change log level from warning to info for hourly cap reached message in app-specific loop, improving log clarity and reducing unnecessary warning noise.
1 parent c9382d4 commit b2d2265

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/primary/background.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def app_specific_loop(app_type: str) -> None:
265265
# Get the current cap status for logging
266266
from src.primary.stats_manager import get_hourly_cap_status
267267
cap_status = get_hourly_cap_status(app_type)
268-
app_logger.warning(f"{app_type.upper()} hourly cap reached {cap_status['current_usage']} of {cap_status['limit']} (app-specific limit). Skipping cycle!")
268+
app_logger.info(f"{app_type.upper()} hourly cap reached {cap_status['current_usage']} of {cap_status['limit']} (app-specific limit). Skipping cycle!")
269269
continue # Skip this instance if API cap is exceeded
270270
except Exception as e:
271271
app_logger.error(f"Error checking hourly API cap for {app_type}: {e}", exc_info=True)

0 commit comments

Comments
 (0)