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
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a [new issue] for related bugs.
If you feel like there's important points made in this discussion, please include those exceprts into that [new issue].
[new issue]: https://github.com/aio-libs/aiohttp/issues/new
Long story short
I'm setting up a project with a custom access logger. My code looks like:
When I run it with gunicorn:
An error is raised:
Turns out
handler_args
overrides every keyword argument ofApplication.make_handler()
, exceptaccess_log_class
.Expected behaviour
Using
access_log_class
inhandler_args
and my given value replace the defaultaiohttp.helpers.AccessLogger
.Actual behaviour
Steps to reproduce
Setup a file with the contents of
main.py
above and run it with thegunicorn
command above.Your environment
python 3.6.6
The text was updated successfully, but these errors were encountered: