From a46c6053ae3be30c0b7c1da037c1faa999be1e30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pascal=20Pfl=C3=BCgner?= Date: Thu, 30 Apr 2026 06:58:42 +0200 Subject: [PATCH] refactor: change valid API key logging level Reduces log verbosity and improves log readability by moving valid API key output to debug level. --- lufa/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lufa/auth.py b/lufa/auth.py index 5c4cc98..5a08dd2 100644 --- a/lufa/auth.py +++ b/lufa/auth.py @@ -67,7 +67,7 @@ def api_key_valid(api_key: str | None, require_write_permission: bool): if api_key is None: return False if api_key in current_app.config["API_KEYS"]: - current_app.logger.info("valid api_key") + current_app.logger.debug("valid api_key from %s", request.remote_addr) return True try: if api_key in current_app.config["API_KEYS_RO"]: