enable logging in request and response