if (configAreaDirectory != null) { File logFile = new File(configAreaDirectory, Long.toString(System.currentTimeMillis()) + EclipseAdaptor.F_LOG); frameworkLog = new EclipseLog(logFile); } else frameworkLog = new EclipseLog();
if (configAreaDirectory != null) { String logFileName = Long.toString(System.currentTimeMillis()) + EclipseAdaptor.F_LOG; File logFile = new File(configAreaDirectory, logFileName); System.setProperty(EclipseStarter.PROP_LOGFILE,logFile.getAbsolutePath()); frameworkLog = new EclipseLog(logFile); } else frameworkLog = new EclipseLog(); }
	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;	}