Blake Blackshear 4 gadi atpakaļ
vecāks
revīzija
692fdc8d5d
1 mainītis faili ar 3 papildinājumiem un 0 dzēšanām
  1. 3 0
      frigate/http.py

+ 3 - 0
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():