From 827b90432c94e8f5aaa74fd8325ee6b0dc9d3d73 Mon Sep 17 00:00:00 2001 From: Son Date: Sat, 6 Nov 2021 18:26:39 +0100 Subject: [PATCH] do not add log for /git and /favicon.ico --- server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server.py b/server.py index f3a5ab8f..f5f5d5be 100644 --- a/server.py +++ b/server.py @@ -497,6 +497,8 @@ def set_index_page(app): not request.path.startswith("/static") and not request.path.startswith("/admin/static") and not request.path.startswith("/_debug_toolbar") + and not request.path.startswith("/git") + and not request.path.startswith("/favicon.ico") ): LOG.d( "%s %s %s %s %s, takes %s",