From 46c6afd85fcedb8956a0724752b450c227a8b17b Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Tue, 25 Jul 2023 15:13:43 -0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20refactor(main.py):=20remove=20co?= =?UTF-8?q?mmented=20out=20code=20for=20getting=20log=20level=20in=20creat?= =?UTF-8?q?e=5Fapp()=20function=20=F0=9F=94=92=20chore(main.py):=20configu?= =?UTF-8?q?re=20logger=20in=20create=5Fapp()=20function=20to=20ensure=20pr?= =?UTF-8?q?oper=20logging=20setup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/backend/langflow/main.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backend/langflow/main.py b/src/backend/langflow/main.py index c4c83d69a..43a63d564 100644 --- a/src/backend/langflow/main.py +++ b/src/backend/langflow/main.py @@ -13,9 +13,6 @@ from langflow.utils.logger import configure def create_app(): """Create the FastAPI app and include the router.""" - # get the current log level - # log_level = logging.getLogger().getEffectiveLevel() - # log_level_name = logging.getLevelName(log_level) configure() app = FastAPI()