public static void initializeLogging(File logFile, File scriptLogFile) {
		checkAppInitialized();
		if (app.loggingInitialized) {
			throw new AssertException("Application logging has already been initialized");
		}
		app.loggingInitialized = true;

		if (logFile == null) {
			logFile = new File(app.layout.getUserSettingsDir(), "application.log");
		}
		if (scriptLogFile == null) {
			scriptLogFile = new File(app.layout.getUserSettingsDir(), "script.log");
		}

		LoggingInitialization.setApplicationLogFile(logFile);
		LoggingInitialization.setScriptLogFile(scriptLogFile);
		LoggingInitialization.initializeLoggingSystem();
	}
If the Application was previously initialized with logging disabled, this method
may be used to perform delayed logging initialization.

@param logFile application log file, if null the default <i>application.log</i> will be stored
within the user's application settings directory
@param scriptLogFile scripting log file, if null the default <i>script.log</i> will be stored
within the user's application settings directory
@throws AssertException if Application has not yet been initialized, or logging
was previously configured for the application.
Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java