code: public static void printBatchTaskLog(int batchId, int taskId, Logger logger, String message) {
          logger.info("[Rebalance batch/task id " + batchId + "/" + taskId + "] " + message);
      }
docs: Print log to the following logger ( Info level )
  
  @param batchId
  @param taskId
  @param logger
  @param message