code: public static synchronized void disableTextDestination() {
  		if (textHandler != null) {
  			Logger.getLogger("").removeHandler(textHandler);
  			// ManagerAdmin.getWsHandlerManager().removeWsHandler(textHandler);
  			//735356 Before deleting textHandler, we should close the file. Otherwise file remains open and causes hang during log rotation.
  			textHandler.stop();			
  			textHandler = null;
  		}
  	}
docs: Disable text logging.