private void createNewLogFile() throws IOException {
    this.logFile = new File(logFileDir.getPath() + File.separator + repairProgressFileName);
    Path logFilePath = logFile.toPath();
    if (!Files.exists(logFilePath)) {
      Files.createFile(logFilePath);
    }
    this.logStream = new FileOutputStream(logFile, true);
  }
Used for start a repair task. May restart a stopped repair task or create a new repair task.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/dataregion/compaction/repair/RepairLogger.java