Log Level Default (#2163)

This commit is contained in:
Yuhong Sun 2024-08-18 14:35:32 -07:00 committed by GitHub
parent 492797c9f3
commit 8a7bc4e411
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -130,7 +130,7 @@ def setup_logger(
def setup_uvicorn_logger() -> None:
logger = logging.getLogger("uvicorn.access")
handler = logging.StreamHandler()
handler.setLevel(LOG_LEVEL)
handler.setLevel(get_log_level_from_str(LOG_LEVEL))
formatter = get_standard_formatter()
handler.setFormatter(formatter)