From 692fdc8d5d9041842e50abce49cbbf662f594b82 Mon Sep 17 00:00:00 2001 From: Blake Blackshear Date: Mon, 9 Nov 2020 07:32:30 -0600 Subject: [PATCH] reduce logging --- frigate/http.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frigate/http.py b/frigate/http.py index 5039acd96..74c9fd267 100644 --- a/frigate/http.py +++ b/frigate/http.py @@ -1,3 +1,4 @@ +import logging import os import time @@ -14,6 +15,8 @@ bp = Blueprint('frigate', __name__) def create_app(frigate_config, database: SqliteDatabase, camera_metrics, detectors, detected_frames_processor): app = Flask(__name__) + log = logging.getLogger('werkzeug') + log.setLevel(logging.ERROR) @app.before_request def _db_connect():