Skip to content

Commit c4dc74f

Browse files
committed
Fix log level
1 parent 019663b commit c4dc74f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flowapi/flowapi/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async def connect_logger():
8282
logger = root_logger.getChild("access")
8383
logger.setLevel(logging.INFO)
8484
ch = logging.StreamHandler(sys.stdout)
85-
ch.setLevel(log_level)
85+
ch.setLevel(logging.INFO)
8686
logger.addHandler(ch)
8787
# Debug logger. Quart doesn't allow us to override current_app.logger, but won't use it by default.
8888
current_app.access_logger = structlog.wrap_logger(logger)
@@ -91,7 +91,7 @@ async def connect_logger():
9191
logger = root_logger.getChild("query")
9292
logger.setLevel(logging.INFO)
9393
ch = logging.StreamHandler(sys.stdout)
94-
ch.setLevel(log_level)
94+
ch.setLevel(logging.INFO)
9595
logger.addHandler(ch)
9696
current_app.query_run_logger = structlog.wrap_logger(logger)
9797

0 commit comments

Comments
 (0)