Log request duration in wsgi_app
For now we have logging in with_pool
and _dispatch
.
I think the with_pool
logging should be moved to wsgi_app
so it is more accurate about the all construction of the response (especially if the auth_required
decorator is set before with_pool
as it can be slow.