From 1fbf85375b5a8d1d61a29d2d28652d56e82f332d Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 28 Feb 2023 13:58:23 +0900 Subject: [PATCH] Test --- server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/server.py b/server.py index 5143d2a..86fb888 100644 --- a/server.py +++ b/server.py @@ -20,6 +20,7 @@ DEBUG_STATE = True if LOG_LEVEL == "DEBUG" else False # Initiate the Flask application and logging: app = Flask(__name__, static_url_path="/static") +app.logger.setLevel(logging.LOG_LEVEL) executor = Executor(app) app.wsgi_app = ProxyFix(app.wsgi_app, x_for=1, x_proto=1, x_host=1, x_prefix=1) app.logger.info("LOG LEVEL SET TO %s", str(LOG_LEVEL))