docs: public void setLeakDetectionSettings(int interval, String output) throws IOException {
          this.leakDetectionInterval = interval;
          this.leakDetectionOutput = TrConfigurator.getLogLocation() + File.separator + output;
  
          if ((interval > -1) && (output != null)) {
              // clear file
              FileWriter outFile = new FileWriter(this.leakDetectionOutput, false);
              outFile.close();
          }
      }