Add logger initialization for improved logging in FastAPI app

This commit is contained in:
2026-02-11 17:51:41 -06:00
parent aedac0c7a8
commit daa520b5fa

View File

@@ -49,6 +49,8 @@ app = FastAPI(
openapi_url="/api/openapi.json" if settings.DEBUG else None,
)
logger = logging.getLogger(__name__)
# Registrar manejadores de excepciones
register_exception_handlers(app)