minimize logging

This commit is contained in:
Blake Blackshear 2020-11-25 20:23:34 -06:00
parent bd77b74689
commit 753df31fa6

View File

@ -21,7 +21,7 @@ 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.INFO)
log.setLevel(logging.ERROR)
@app.before_request
def _db_connect():