public Optional<LogFile> getLogFile() {
    for (LoggingSessionListener listener : listeners) {
      if (listener.getLogFile().isPresent()) {
        return listener.getLogFile();
      }
    }
    return Optional.empty();
  }
Returns the system {@link LogFile} from any {@link LoggingSessionListener} that offers it.
geode-core/src/main/java/org/apache/geode/logging/internal/LoggingSessionRegistryProvider.java