From bfca1e3ac8ead03304aa533bdb6e250c0d22622a Mon Sep 17 00:00:00 2001 From: Aditya Toshniwal Date: Thu, 8 Aug 2019 15:36:22 +0100 Subject: [PATCH] Set the Werkzeug logger to the same log level as the rest of the app. --- web/pgadmin/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/pgadmin/__init__.py b/web/pgadmin/__init__.py index 94201abf9..28bb51c7f 100644 --- a/web/pgadmin/__init__.py +++ b/web/pgadmin/__init__.py @@ -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 (