public static LocalDateTime parseTime(String dateString) {
    if (dateString == null) {
      return null;
    }

    try {
      SimpleDateFormat df = new SimpleDateFormat(ExportLogsCommand.FORMAT);
      return df.parse(dateString).toInstant().atZone(ZoneId.systemDefault()).toLocalDateTime();
    } catch (ParseException e) {
      try {
        SimpleDateFormat df = new SimpleDateFormat(ExportLogsCommand.ONLY_DATE_FORMAT);
        return df.parse(dateString).toInstant().atZone(ZoneId.systemDefault()).toLocalDateTime();
      } catch (ParseException e1) {
        return null;
      }
    }
  }
this function extracts the logs using a LogExporter which creates a zip file, and then writes the
zip file bytes into a replicated region, this in effect, "stream" the zip file bytes to the
locator

The function only extracts .log and .gfs files under server's working directory
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/functions/ExportLogsFunction.java