Location location = LocationManager.getConfigurationLocation(); File configAreaDirectory = null; if (location != null)  configAreaDirectory = new File(location.getURL().getFile());
String logFileProp = System.getProperty(EclipseStarter.PROP_LOGFILE); if (logFileProp != null) { frameworkLog = new EclipseLog(new File(logFileProp)); } else { Location location = LocationManager.getConfigurationLocation(); File configAreaDirectory = null; if (location != null)  configAreaDirectory = new File(location.getURL().getFile());
	protected static FrameworkLog createFrameworkLog() {		FrameworkLog frameworkLog;		Location location = LocationManager.getConfigurationLocation();		File configAreaDirectory = null;		if (location != null)			// TODO assumes the URL is a file: url			configAreaDirectory = new File(location.getURL().getFile());				if (configAreaDirectory != null) {			File logFile = new File(configAreaDirectory, Long.toString(System.currentTimeMillis()) + EclipseAdaptor.F_LOG);			frameworkLog = new EclipseLog(logFile);		} else 			frameworkLog = new EclipseLog();		if ("true".equals(System.getProperty(EclipseStarter.PROP_CONSOLE_LOG))) 			frameworkLog.setConsoleLog(true);		return frameworkLog;	}