fix flask logger config

This commit is contained in:
Blake Blackshear
2021-01-26 21:40:33 -06:00
parent 7aecf6c6de
commit f60eb4e977
2 changed files with 3 additions and 2 deletions
-2
View File
@@ -20,8 +20,6 @@ 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():