directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r234237 - /directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/codegen/CodeGeneratorStage.java
Date Sun, 21 Aug 2005 15:15:54 GMT
Author: elecharny
Date: Sun Aug 21 08:15:51 2005
New Revision: 234237

URL: http://svn.apache.org/viewcvs?rev=234237&view=rev
Log:
Switched from commons-logging to slf4j/nlog4j

Modified:
    directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/codegen/CodeGeneratorStage.java

Modified: directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/codegen/CodeGeneratorStage.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/codegen/CodeGeneratorStage.java?rev=234237&r1=234236&r2=234237&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/codegen/CodeGeneratorStage.java
(original)
+++ directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/codegen/CodeGeneratorStage.java
Sun Aug 21 08:15:51 2005
@@ -26,8 +26,8 @@
 import java.util.Properties;
 import java.util.Vector;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 import org.apache.velocity.VelocityContext;
 import org.apache.velocity.app.Velocity;
 import org.apache.velocity.exception.ParseErrorException;
@@ -43,7 +43,7 @@
  */
 public class CodeGeneratorStage implements Stage
 {
-    private static Log log = LogFactory.getLog( CodeGeneratorStage.class );
+    private static Logger log = LoggerFactory.getLogger( CodeGeneratorStage.class );
     public static final String ROOT_PACKAGE = "org.apache.snickers.asn1.stages.codegen.ROOT_PACKAGE";
     public static final String DESTINATION_PATH = "org.apache.snickers.asn1.stages.codegen.DESTINATION_PATH";
 
@@ -52,7 +52,7 @@
 
     public void process( Map environment ) throws ProcessException
     {
-        log.trace( "Code generation stage processing begun" );
+        log.debug( "Code generation stage processing begun" );
 
 
         try
@@ -86,7 +86,7 @@
         }
         finally
         {
-            log.trace( "Code generation stage processing complete" );
+            log.debug( "Code generation stage processing complete" );
         }
     }
 



Mime
View raw message