adjust logging the response in one method