code: 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;
      }
docs: Create an HPEL handler. This handler will not split out trace and log data (since retention not that specific).
  This also speeds up query since no internal merge is done. If separate Trace is needed, simply specify the threshold
  level on the LogRecordHandler constructor, construct a traceWriter in the same way that the logWriter is specified,
  and add the traceWriter to the handler
  
  @param logRepositoryLoc Location of the log repository
  @param pid Process ID to use
  @param label Label to be included in subDirectories or files
  @param minLevel Minimum level to be handled by this handler
  @param traceRepositoryLoc If trace records to be handled, this is the location of the trace repository. If trace not
  needed, then this can be null
  @param useDirTree multiLevel hierarchy or flat storage
  @return