diff --git a/api/velour_api/logging.py b/api/velour_api/logging.py index 579257d56..ea27de3d4 100644 --- a/api/velour_api/logging.py +++ b/api/velour_api/logging.py @@ -8,7 +8,11 @@ logger = structlog.get_logger() -def log_request(request: Request): +def log_request( + request: Request, ignore_paths=frozenset(["/health", "/ready"]) +): + if request.url.path in ignore_paths: + return logger.info( "Velour API Call", method=request.method,