code: private void tryReloadingEditLog() throws IOException {
      LOG.info("Trying to reload the edit log ...");
      // The roll image count is 1 after edits.new was renamed to edits
      if (rollImageCount.get() == 1) {
        try {
          LOG.info("Trying to reload the edit log from " +
              editsFile.getAbsolutePath());
          openInputStream(editsFile);
          LOG.info("Successfully reloaded the edit log from " +
              editsFile.getAbsolutePath() + ". Trying to refresh position.");
          refreshStreamPosition();
          LOG.info("Successfully refreshed stream position");
          return;
        } catch (IOException e) {
          LOG.warn("Failed to reload from " + editsFile.getAbsolutePath(), e);
        }
      }
      
      try {
        LOG.info("Trying to reload the edit log from " +
            editsNewFile.getAbsolutePath());
        openInputStream(editsNewFile);
        LOG.info("Successfully reloaded the edit log from " +
            editsNewFile.getAbsolutePath() + ". Trying to refresh position.");
        refreshStreamPosition();
        LOG.info("Successfully refreshed stream position");
        return;
      } catch (IOException e) {
        LOG.error("Failed to reload from " + editsFile.getAbsolutePath(), e);
        throw e;
      }
    }
docs: Tries to fully reload the edit log.
  
  @throws IOException if a fatal error occurred.