- From: Thomas Gambet via cvs-syncmail <cvsmail@w3.org>
- Date: Tue, 25 Aug 2009 08:49:51 +0000
- To: www-validator-cvs@w3.org
Update of /sources/public/2006/unicorn/src/org/w3c/unicorn/output
In directory hutz:/tmp/cvs-serv12133/src/org/w3c/unicorn/output
Modified Files:
Tag: dev2
SimpleOutputFormater.java OutputModule.java
XMLOutputFormater.java OutputFactory.java
Log Message:
changed logger
Index: XMLOutputFormater.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/Attic/XMLOutputFormater.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- XMLOutputFormater.java 24 Aug 2009 12:50:59 -0000 1.1.2.3
+++ XMLOutputFormater.java 25 Aug 2009 08:49:49 -0000 1.1.2.4
@@ -8,6 +8,7 @@
import java.util.Map;
import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.app.event.EventCartridge;
import org.apache.velocity.exception.MethodInvocationException;
@@ -27,7 +28,7 @@
/**
* Object used for complex logging purpose
*/
- private static final Log logger = OutputFactory.logger;
+ private static final Log logger = LogFactory.getLog(XMLOutputFormater.class);
/**
* Apache velocity context
Index: OutputFactory.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/Attic/OutputFactory.java,v
retrieving revision 1.1.2.3
retrieving revision 1.1.2.4
diff -u -d -r1.1.2.3 -r1.1.2.4
--- OutputFactory.java 13 Aug 2009 13:42:42 -0000 1.1.2.3
+++ OutputFactory.java 25 Aug 2009 08:49:49 -0000 1.1.2.4
@@ -21,7 +21,7 @@
*/
public class OutputFactory {
- protected static final Log logger = LogFactory.getLog("org.w3c.unicorn.output");
+ protected static final Log logger = LogFactory.getLog(OutputFactory.class);
private static final Map<EnumOutputModule, OutputModule> mapOfOutputModule = new LinkedHashMap<EnumOutputModule, OutputModule>();
Index: OutputModule.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/Attic/OutputModule.java,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- OutputModule.java 11 Aug 2009 16:20:43 -0000 1.1.2.1
+++ OutputModule.java 25 Aug 2009 08:49:49 -0000 1.1.2.2
@@ -9,6 +9,7 @@
import java.util.Map;
import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.velocity.exception.MethodInvocationException;
import org.apache.velocity.exception.ParseErrorException;
import org.apache.velocity.exception.ResourceNotFoundException;
@@ -20,7 +21,7 @@
*/
public interface OutputModule {
- public static final Log logger = OutputFactory.logger;
+ public static final Log logger = LogFactory.getLog(OutputModule.class);
/**
* Generate the output of all response.
Index: SimpleOutputFormater.java
===================================================================
RCS file: /sources/public/2006/unicorn/src/org/w3c/unicorn/output/Attic/SimpleOutputFormater.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- SimpleOutputFormater.java 24 Aug 2009 12:50:59 -0000 1.1.2.2
+++ SimpleOutputFormater.java 25 Aug 2009 08:49:49 -0000 1.1.2.3
@@ -8,6 +8,7 @@
import java.util.Map;
import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.velocity.VelocityContext;
import org.apache.velocity.exception.MethodInvocationException;
import org.apache.velocity.exception.ParseErrorException;
@@ -23,7 +24,7 @@
*/
public class SimpleOutputFormater implements OutputFormater {
- private static final Log logger = OutputFactory.logger;
+ private static final Log logger = LogFactory.getLog(SimpleOutputFormater.class);
private static VelocityContext aVelocityContext;
Received on Tuesday, 25 August 2009 08:50:01 UTC