Set the Werkzeug logger to the same log level as the rest of the app.

This commit is contained in:
Aditya Toshniwal 2019-08-08 15:36:22 +01:00 committed by Dave Page
parent 7f667f5761
commit bfca1e3ac8

View File

@ -228,7 +228,7 @@ def create_app(app_name=None):
# stream handler thus ensuring all the logging goes through the pgAdmin
# logger.
logger = logging.getLogger('werkzeug')
logger.setLevel(logging.INFO)
logger.setLevel(config.CONSOLE_LOG_LEVEL)
# Set SQLITE_PATH to TEST_SQLITE_PATH while running test cases
if (