directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r234239 - /directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/ParseStage.java
Date Sun, 21 Aug 2005 15:16:46 GMT
Author: elecharny
Date: Sun Aug 21 08:16:43 2005
New Revision: 234239

URL: http://svn.apache.org/viewcvs?rev=234239&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/parser/ParseStage.java

Modified: directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/ParseStage.java
URL: http://svn.apache.org/viewcvs/directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/ParseStage.java?rev=234239&r1=234238&r2=234239&view=diff
==============================================================================
--- directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/ParseStage.java
(original)
+++ directory/asn1/branches/asn1-new-ber/stub-compiler/src/java/org/apache/snickers/asn1/stages/parser/ParseStage.java
Sun Aug 21 08:16:43 2005
@@ -24,13 +24,13 @@
 import antlr.RecognitionException;
 import antlr.TokenStreamException;
 
-import org.apache.commons.logging.Log;
-import org.apache.commons.logging.LogFactory;
 import org.apache.snickers.asn1.parser.ASN1Lexer;
 import org.apache.snickers.asn1.parser.ASN1Parser;
 import org.apache.snickers.asn1.stages.parser.Environment;
 import org.apache.snickers.asn1.stages.Stage;
 import org.apache.snickers.asn1.stages.ProcessException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 
 /**
@@ -38,14 +38,14 @@
  */
 public class ParseStage implements Stage
 {
-    private static Log log = LogFactory.getLog(ParseStage.class);
+    private static Logger log = LoggerFactory.getLogger(ParseStage.class);
 
     public static final String SRC_URI = "org.apache.snickers.asn1.stages.parser.SRC_URI";
     public static final String ENVIRONMENT = "org.apache.snickers.asn1.stages.parser.ENVIRONMENT";
 
     public void process( Map environment ) throws ProcessException
     {
-        log.trace( "Parse stage processing begun");
+        log.debug( "Parse stage processing begun");
 
         try
         {
@@ -75,7 +75,7 @@
         }
         finally
         {
-            log.trace( "Parse stage processing complete");
+            log.debug( "Parse stage processing complete");
         }
     }
 }



Mime
View raw message