docs: public static synchronized void setTextDestination(String location, boolean enablePurgeBySize, boolean enablePurgeByTime,
  			boolean enableFileSwitch, boolean enableBuffering, long maxRepositorySize, long retentionTime, int fileSwitchHour,
  			String outOfSpaceAction, String outputFormat, boolean includeTrace) {		// F001340-16890
  
  		if (svSuperPid != null) {
  			// No TextLog for children sub-processes yet.
  			return;
  		}
  		if (location == null && textHandler == null) {
  			throw new IllegalArgumentException(
  					"Argument 'location' can't be null if text logging is not enabled.");
  		}
  		
  		// Let it fail with IllegalArgumentException here
  		HpelFormatter.getFormatter(outputFormat);
  
  		boolean addedHere = false;
  		if (textHandler == null) {
  			textHandler = new LogRecordTextHandler(TRACE_THRESHOLD) ;	// F001340-16890
  			// ManagerAdmin.getWsHandlerManager().addWsHandler(textHandler, false);
  			Logger.getLogger("").addHandler(textHandler);
  			addedHere = true;
  		}
  
  		try {
  			TEXT_DESTINATION_CHANGER.setDirectoryDestination(location, enablePurgeBySize, enablePurgeByTime, enableFileSwitch,
  					enableBuffering, maxRepositorySize, retentionTime, fileSwitchHour, outOfSpaceAction, LogRepositoryBaseImpl.TEXTLOGTYPE);
  		} catch (RuntimeException ex) { // Handle any runtime exception, not just the IllegalArgumentException
  			if (addedHere) {
  				disableTextDestination();
  			}
  			throw ex;
  		}
  		
  		// These last settings should not fail
  		textHandler.setFormat(outputFormat);
  		textHandler.setIncludeTrace(includeTrace) ;		// F001340-16890
  	}