

@_handle_container_not_found
def set_cdn_log_retention(self, container, enabled):
    '\n        Enables or disables whether CDN access logs for the specified container\n        are collected and stored on Cloud Files.\n        '
    headers = {
        'X-Log-Retention': ('%s' % enabled),
    }
    self.api.cdn_request(('/%s' % utils.get_name(container)), method='PUT', headers=headers)

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py ContainerManager.set_cdn_log_retention/original