2006/unicorn/src/org/w3c/unicorn RequestThread.java,1.7,1.8 Framework.java,1.11,1.12

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

Modified Files:
	RequestThread.java Framework.java 
Log Message:
log cleanup

Index: Framework.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/Framework.java,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Framework.java	18 Sep 2009 17:16:05 -0000	1.11
+++ Framework.java	23 Sep 2009 09:16:00 -0000	1.12
@@ -509,7 +509,7 @@
 		
 		logger.info("OK - Velocity successfully initialized");
 		
-		Framework.logger.info("Unicorn initialized successfully.");
+		logger.info("Unicorn initialized successfully.");
 		isUcnInitialized = true;
 	}
 	

Index: RequestThread.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/RequestThread.java,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- RequestThread.java	21 Sep 2009 15:56:03 -0000	1.7
+++ RequestThread.java	23 Sep 2009 09:16:00 -0000	1.8
@@ -80,7 +80,7 @@
 		} catch (final UnicornException e) {
 			messages.add(e.getUnicornMessage());
 		} catch (final Exception e) {
-			RequestThread.logger.error("Exception : " + e.getMessage(), e);
+			logger.error("Exception : " + e.getMessage(), e);
 			try {
 				StringBuilder builder = new StringBuilder();
 				VelocityContext context = new VelocityContext(Framework.getLanguageContexts().get(lang));
@@ -106,12 +106,10 @@
 				aResponse = ResponseParserFactory.parse(builder.toString(), "default");				
 				aResponse.setXml(builder);				
 			} catch (IOException e1) {
-				RequestThread.logger
-						.error("Exception : " + e1.getMessage(), e1);
+				logger.error("Exception : " + e1.getMessage(), e1);
 				e1.printStackTrace();
 			} catch (Exception e1) {
-				RequestThread.logger
-						.error("Exception : " + e1.getMessage(), e1);
+				logger.error("Exception : " + e1.getMessage(), e1);
 				e1.printStackTrace();
 			}
 		}

Received on Wednesday, 23 September 2009 09:16:11 UTC