Logging add
This commit is contained in:
1 parent
b63e2fa2fa
commit
d3ce1274cf
1 file changed
+4
@@ -6,6 +6,7 @@ Default port 5000 (replaces frigate-counter dashboard role).
|
||||
"""
|
||||
|
||||
import json
|
||||
import logging
|
||||
import os
|
||||
import sqlite3
|
||||
import time
|
||||
@@ -21,6 +22,9 @@ from werkzeug.serving import WSGIRequestHandler
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
log = logging.getLogger('werkzeug')
|
||||
log.setLevel(logging.ERROR)
|
||||
|
||||
|
||||
app = Flask(__name__, template_folder="templates")
|
||||
app.config["SECRET_KEY"] = os.getenv("SECRET_KEY", "change-me-in-production")
|
||||
|
||||
Reference in new issue
Block a user