Fix respond_to? to check logger: not cloudwatch