log request and response bodies