code: public void configure(InputStream loggingProperties)
      throws IOException {
          System.err.println("Configuring logging using log directory: " + logDir);
          Reader logConfigReader = new InputStreamReader(loggingProperties);
          InputStream logConfigStream = new LineFilterInputStream(logConfigReader, line -> line.replaceAll("LOG_DIR", logDir));
          LogManager logManager = LogManager.getLogManager();
          logManager.readConfiguration(logConfigStream);
      }
docs: Configures the logging system using the given logging properties. The logging properties resource is
  filtered to replace '<code>LOG_DIR</code>' by the path of the directory where the log files must be placed.
  @param loggingProperties The properties steam
  @throws IOException When an exception occurs while reading the loggingProperties