def _get_logfiles_list(self,
                           host_log_dir,
                           options=defaults.DEFAULT_CRAWL_OPTIONS):
        """
        Returns list of log files as a list of dictionaries `{name, type,
        source, dest}` to be linked to `host_log_dir`.
        """

        # Get the rootfs of the container in the host

        rootfs_path = get_docker_container_rootfs_path(
            self.long_id, self.inspect)

        logs_list = []
        for logdict in self._get_container_log_files(rootfs_path,
                                                     options):
            name = logdict['name']
            _type = logdict['type']
            log_source = rootfs_path + name
            log_dest = host_log_dir + name
            log = {
                'name': name,
                'type': _type,
                'source': log_source,
                'dest': log_dest}
            if logs_list not in log:
                logs_list.append(log)

        docker_log_source = get_docker_container_json_logs_path(
            self.long_id, self.inspect)
        name = 'docker.log'
        docker_log_dest = os.path.join(host_log_dir, name)
        logs_list.append({'name': name,
                          'type': None,
                          'source': docker_log_source,
                          'dest': docker_log_dest})

        return logs_list
dataset/ETHPy150Open cloudviz/agentless-system-crawler/crawler/dockercontainer.py/DockerContainer._get_logfiles_list/swapped operands of `not in`