logs correct response codes
migrates log to pipeline request/response handler