🔥 refactor(main.py): remove commented out code for getting log level in create_app() function

🔒 chore(main.py): configure logger in create_app() function to ensure proper logging setup
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-07-25 15:13:43 -03:00
commit 46c6afd85f

View file

@ -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()