Fastapi logs print to terminal during startup but are not triggered in the endpoints (neither print() statements nor logger.info() etc).
This might be a fastapi or docker issue.
As interim solution fastapi is set to debug mode - you get errors in the endpoint code displayed when making requests via http://localhost:8000/docs.
Description
Fastapi logs print to terminal during startup but are not triggered in the endpoints (neither print() statements nor logger.info() etc). This might be a fastapi or docker issue. As interim solution fastapi is set to debug mode - you get errors in the endpoint code displayed when making requests via http://localhost:8000/docs.