output amazon response to log