FileInfo addLogFile(final String server, final String logfile) throws IOException {
      WALLink logLink = new WALLink(conf, server, logfile);
      long size = -1;
      try {
        size = logLink.getFileStatus(fs).getLen();
        logSize.addAndGet(size);
        logsCount.incrementAndGet();
      } catch (FileNotFoundException e) {
        logsMissing.incrementAndGet();
      }
      return new FileInfo(false, size, false);
    }
Add the specified log file to the stats
@param server  server name
@param logfile log file name
@return the log information
hbase-server/src/main/java/org/apache/hadoop/hbase/snapshot/SnapshotInfo.java