docs: public static FileHandler getFileHandler(String processId,
                                             String loggingDir,
                                             boolean append,
                                             ByteAmount limit,
                                             int count) throws IOException, SecurityException {
  
      String pattern = loggingDir + "/" + processId + ".log.%g";
  
  
      FileHandler fileHandler = new FileHandler(pattern, (int) limit.asBytes(), count, append);
      fileHandler.setFormatter(new SimpleFormatter());
      fileHandler.setEncoding(StandardCharsets.UTF_8.toString());
  
      return fileHandler;
    }