Logging and httpresponse object