public List<TaskExecLog> getTaskLogs(String taskId) {
        Preconditions.checkArgument(StringUtils.isNotBlank(taskId), "Task id cannot be blank");
        return stub
                .getTaskLogs(
                        TaskServicePb.GetTaskLogsRequest.newBuilder().setTaskId(taskId).build())
                .getLogsList()
                .stream()
                .map(protoMapper::fromProto)
                .collect(Collectors.toList());
    }
Fetch execution logs for a task.

@param taskId id of the task.
grpc-client/src/main/java/com/netflix/conductor/client/grpc/TaskClient.java