You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the image at https://github.com/tiangolo/uvicorn-gunicorn-docker, I just changed my Django application MODULE_NAME from the wsgi to the asgi. But the logs are without the information requested on access_log_format.
I really don't understand, I am struggling many hours with this; is it something related to uvicorn logging that is not "passing back" to gunicorn?
The text was updated successfully, but these errors were encountered:
Hi,
I have a custom gunicorn file with:
...
access_log_format = '%({x-forwarded-for}i)s %(l)s %(u)s %(t)s "%(r)s" %(s)s %(b)s "%(f)s" "%(a)s"'
...
This custom gunicorn file was working perfectly with the corresponding wsgi image at https://github.com/tiangolo/meinheld-gunicorn-docker.
When I use the image at https://github.com/tiangolo/uvicorn-gunicorn-docker, I just changed my Django application MODULE_NAME from the wsgi to the asgi. But the logs are without the information requested on access_log_format.
I really don't understand, I am struggling many hours with this; is it something related to uvicorn logging that is not "passing back" to gunicorn?
The text was updated successfully, but these errors were encountered: