use additional loki logger #48

Merged
remoll merged 6 commits from feature/backend/centralized-logging into main 2025-01-08 09:43:38 +00:00
Showing only changes of commit bc63b57154 - Show all commits

View File

@ -60,7 +60,7 @@ def uvicorn_run():
""" """
Run the FastAPI application using uvicorn Run the FastAPI application using uvicorn
""" """
num_workers = os.getenv('NUM_WORKERS', 1) num_workers = int(os.getenv('NUM_WORKERS', 1))
logger.info(f"Starting FastAPI+uvicorn with {num_workers=}, {is_debug=}, {is_kubernetes=}") logger.info(f"Starting FastAPI+uvicorn with {num_workers=}, {is_debug=}, {is_kubernetes=}")
uvicorn.run( uvicorn.run(
# we could in theory directly import the app and pass it as an object # we could in theory directly import the app and pass it as an object