synchronized static void setScriptLogFile(File file) {
		if (SCRIPT_LOG_FILE != null && !SystemUtilities.isInTestingMode()) {
			// don't throw the exception so that we may can continue to work
			System.err.println("Cannot change the log file once it has been " +
				"initialized!\nYou must call this method before calling " +
				"LoggingInitialization.initializeLoggingSystem()");
			(new IllegalStateException()).printStackTrace();
		}
		SCRIPT_LOG_FILE = file;

		// Need to set the system property that the log4j2 configuration reads in order to
		// determine the script log file name. Once that's set, the log configuration must be
		// 'kicked' to pick up the change.
		System.setProperty("scriptLogFilename", file.getAbsolutePath());

		reinitialize();
	}
Use this to override the default application log file, before you
initialize the logging system.

@param file The file to use as the application log file
Ghidra/Framework/Generic/src/main/java/ghidra/framework/LoggingInitialization.java