code: public void logMessageForTask(String taskId, String logMessage) {
          Preconditions.checkArgument(StringUtils.isNotBlank(taskId), "Task id cannot be blank");
          postForEntityWithRequestOnly("tasks/" + taskId + "/log", logMessage);
      }
docs: Log execution messages for a task.
  
  @param taskId     id of the task
  @param logMessage the message to be logged