Don't disable flask logging in prod.

This commit is contained in:
Matthew Stratford 2021-04-16 20:53:14 +01:00
parent 39d352ebec
commit 6041e8a4ac

View file

@ -51,9 +51,6 @@ class BAPSicleServer:
startServer()
# def __del__(self):
# stopServer()
def get_flask(self):
return app
@ -613,6 +610,7 @@ def startServer():
setproctitle(process_title)
CORS(app, supports_credentials=True) # Allow ALL CORS!!!
if not isBundelled():
log = logging.getLogger("werkzeug")
log.disabled = True