docs: public static boolean isDebugEnabled() {
          if (debugEnabled != null)
              return debugEnabled;
          debugEnabled = false;
          if (!debugAllowed)
              return false; // 682032
          int numDebugFiles; // Calculate # of files and file size based on repository size
          int debugFileSz;
          if (debugReposSz < (4 * ONE_MEG)) { // Small repository = 2 files, otherwise 10
              numDebugFiles = 2;
              debugFileSz = debugReposSz / 2;
          } else {
              numDebugFiles = 10;
              debugFileSz = debugReposSz / 10;
          }
  
          System.out.println("HPEL Debugging in use. Internal repository sz: " + debugReposSz + ". Num Files: " +
                             numDebugFiles + " FileSz: " + debugFileSz + " Location (null means system temp directory): " + debugLocation);
          FileHandler fHandler;
          String pid = HpelHelper.getProcessId();
  
          //On iSeries platforms, the pid will be a qualified combination of job number, user, and jobname with a
          //qualifier of /.  The job number is a unique number assigned by the iSeries system that is always 6 digits.
          //Since job number is unique and numeric, we will strip off the rest and treat the job number as a pid value.
          int index = pid.indexOf("/");
          if (index > -1) {
              pid = pid.substring(0, index);
          }
  
          if (!pid.equals(""))
              pid += "."; // If there, suffix with dot to split it from generated info
          try {
              File thisLog;
              if (debugLocation == null) {
                  thisLog = File.createTempFile("hpelDebugLogger." + pid, ".log");
              } else {
                  File debugLoc = new File(debugLocation);
                  AccessHelper.makeDirectories(debugLoc);
                  thisLog = File.createTempFile("hpelDebugLogger." + pid, ".log", debugLoc);
              }
              fHandler = new FileHandler(thisLog.getPath(), debugFileSz, numDebugFiles);
          } catch (Exception e) {
              System.out.println("Exception creating fileHandler for separate LogRepositoryManager logging. Turning off special logging: " + e);
              LogRepositoryBaseImpl.debugLogger.setUseParentHandlers(false); // Logger functionally does nothing at this point
              return false;
          }
          fHandler.setFormatter(new SimpleFormatter());
          LogRepositoryBaseImpl.debugLogger.addHandler(fHandler);
          LogRepositoryBaseImpl.debugLogger.setUseParentHandlers(false);
          debugEnabled = true;
          return true;
      }