chore: route uvicorn logs to structlog; disable default access logs

This commit is contained in:
HotSwapp
2025-10-06 23:00:25 -05:00
parent 0637fc2a63
commit 978a866813
4 changed files with 108 additions and 5 deletions

View File

@@ -31,4 +31,4 @@ HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8000/health || exit 1
# Run the application
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]
CMD ["python", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--no-access-log", "--log-config", "app/uvicorn_log_config.json"]