From 1319c3e1abe65fec2883e10da51acd48e2a95b59 Mon Sep 17 00:00:00 2001 From: ArabCoders Date: Sat, 18 Jan 2025 17:47:03 +0300 Subject: [PATCH] ignore /api/ping access log --- app/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 5325f3f7..c9403686 100644 --- a/app/main.py +++ b/app/main.py @@ -150,7 +150,7 @@ class Main: LOG.info("=" * 40) if self.config.access_log: - http_logger.addFilter(lambda record: "GET /ping" not in record.getMessage()) + http_logger.addFilter(lambda record: "GET /api/ping" not in record.getMessage()) web.run_app( self.app,