private List<Path> getLocalLogDirs() throws IOException {
    String logDirs = System.getenv(ApplicationConstants.Environment.LOG_DIRS.toString());
    return COMMA_SPLITTER.splitToList(logDirs).stream().map(e -> new Path(e)).collect(Collectors.toList());
  }
private List < Path > getLocalLogDirs ( ) throws IOException { String logDirs = System . getenv ( ApplicationConstants . Environment . LOG_DIRS . toString ( ) ) ; return COMMA_SPLITTER . splitToList ( logDirs ) . stream ( ) . map ( e -> new Path ( e ) ) . collect ( Collectors . toList ( ) ) ; }
Multiple directories may be specified in the LOG_DIRS string. Split them up and return a list of {@link Path}s.
@return list of {@link Path}s to the log directories
@throws IOException