@cryptotaxi247 / CoPilot / commits / ffc51e03

Update excluded paths in logger middleware to include additional endpoints (#766)

taylor_socfortress committed Mar 14, 2026 at 18:24 UTC ffc51e0386afeef426cc8df4fdc810bf97690a36
1 file changed +1 -1
backend/app/middleware/logger.py
+1 -1
@@ -7,7 +7,7 @@ from app.auth.utils import AuthHandler
7 from app.db.db_session import async_engine
8 from app.utils import Logger
9
10 -EXCLUDED_PATHS = ["/auth/token", "/auth/register"]
10 +EXCLUDED_PATHS = ["/auth/token", "/auth/register", "/auth/refresh", "/influxdb/alerts?days=1&status=active&exclude_ok=true"]
11 INTERNAL_SERVER_ERROR = 500
12
13