2006/unicorn/src/org/w3c/unicorn Framework.java,1.1.2.7,1.1.2.8

Update of /sources/public/2006/unicorn/src/org/w3c/unicorn
In directory hutz:/tmp/cvs-serv3296/src/org/w3c/unicorn

Modified Files:
      Tag: dev2
	Framework.java 
Log Message:
small log changes

Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Attic/Framework.java,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -d -r1.1.2.7 -r1.1.2.8
--- Framework.java	17 Aug 2009 14:08:21 -0000	1.1.2.7
+++ Framework.java	17 Aug 2009 17:28:26 -0000	1.1.2.8
@@ -145,6 +145,7 @@
 			logger.info("OK - JVM parameter \"unicorn.home\" was found: " + unicornHome.getPath());
 			logger.info("OK - Log4j successfully initialized");
 			logger.debug("> Used log4j.properties file: " + log4jPath);
+			logger.debug("> log4j.properties:" + (UCNProperties) unicornPropertiesFiles.get("log4j.properties"));
 		} catch (FileNotFoundException e) {
 			logger.warn("Log4j config file \"log4j.properties\" could not be found: " + log4jPath);
 			logger.warn("Log4j will not be initialized");
@@ -357,11 +358,12 @@
 		}
 		
 		logger.debug("-------------------------------------------------------");
-		logger.debug("Loading task files from tasklist directory: " + Property.get("PATH_TO_TASKLIST"));
+		logger.debug("Loading xml task files from tasklist directory: " + Property.get("PATH_TO_TASKLIST"));
 		TasksListUnmarshaller aTaskListUnmarshaller = new TaskListUnmarshallerBeans(mapOfObserver);
 		File[] tFileXML = ListFiles.listFiles(Property.get("PATH_TO_TASKLIST"), "\\.xml$");
 		for (File aFile : tFileXML) {
 			try {
+				logger.debug("- Loading xml file: " + aFile.getName());
 				aTaskListUnmarshaller.addURL(aFile.toURI().toURL());
 				aTaskListUnmarshaller.unmarshal();
 			} catch (MalformedURLException e) {
@@ -374,6 +376,8 @@
 				logger.warn("> This task file will be skiped");
 			}
 		}
+		logger.debug("-------------------------------------------------------");
+		logger.debug("Loading rdf task files from tasklist directory: " + Property.get("PATH_TO_TASKLIST"));
 		File[] tFileRDF = ListFiles.listFiles(Property.get("PATH_TO_TASKLIST"), "\\.rdf$");
 		RDFUnmarshaller aRDFUnmarshaller = new RDFUnmarshallerJena();
 		aRDFUnmarshaller.setMapOfTask(aTaskListUnmarshaller.getMapOfTask());

Received on Monday, 17 August 2009 17:28:37 UTC