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

This commit is contained in:
Aditya Toshniwal authored and Dave Page committed 2019-08-08 15:36:22 +01:00
1 parent 7f667f5761
commit bfca1e3ac8
1 file changed
+1 -1
+1 -1
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 (