Add log statement to print out buildResponse from optimizer