public void logMessageForTask(String taskId, String logMessage) {
        Preconditions.checkArgument(StringUtils.isNotBlank(taskId), "Task id cannot be blank");
        stub.addLog(
                TaskServicePb.AddLogRequest.newBuilder()
                        .setTaskId(taskId)
                        .setLog(logMessage)
                        .build());
    }
Log execution messages for a task.

@param taskId id of the task
@param logMessage the message to be logged
grpc-client/src/main/java/com/netflix/conductor/client/grpc/TaskClient.java