Skip to content

Commit 9b3f914

Browse files
committed
Set log level: INFO
1 parent 3865bd8 commit 9b3f914

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/server/app.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
app.secret_key = APP_SECRET_KEY
1818
app.config["MAX_CONTENT_LENGTH"] = 500 * 1024 * 1024 # 500 Megs
1919
app.config["SEND_FILE_MAX_AGE_DEFAULT"] = 0
20+
2021
from api.admin_api import admin_api
2122
from api.common_api import common_api
2223
from api.user_api import user_api
@@ -25,6 +26,8 @@
2526
app.register_blueprint(common_api)
2627
app.register_blueprint(user_api)
2728

29+
app.logger.setLevel('INFO')
30+
2831
# init_db_schema.start(connection)
2932

3033

0 commit comments

Comments
 (0)