enabled logging of response code