docs: public static Handler getHpelHandler(String repositoryLoc, String pid, String label,
                                           boolean useDirTree, Properties overrideProps) {
          LogRecordHandler handler = null;
          String methodName = "getHpelHandler";
  
          try { // Set up log and traceWriter for the handler (trace only if min level < INFO
              handler = new LogRecordHandler(Level.OFF.intValue(), LogRepositoryBaseImpl.KNOWN_FORMATTERS[0], overrideProps); // hpel handler
              File repositoryLocation = new File(repositoryLoc + "logdata");
              LogRepositoryManager manager = new LogRepositoryManagerImpl(repositoryLocation, pid, label, useDirTree);
              LogRepositoryWriter logWriter = new LogRepositoryWriterImpl(manager);
              handler.setLogWriter(logWriter);
          } catch (Exception e) {
              if (log.isLoggable(Level.FINE)) {
                  log.logp(Level.FINE, CLASS_NAME, methodName, "Error in setting up handler: " + e);
              }
              return null;
          }
          return handler;
      }