lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject svn commit: r930931 - /lucene/dev/trunk/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java
Date Mon, 05 Apr 2010 19:24:07 GMT
Author: ehatcher
Date: Mon Apr  5 19:24:07 2010
New Revision: 930931

URL: http://svn.apache.org/viewvc?rev=930931&view=rev
Log:
remove logging API usage, mainly because it isn't used, but also caused a test failure

Modified:
    lucene/dev/trunk/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java

Modified: lucene/dev/trunk/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java?rev=930931&r1=930930&r2=930931&view=diff
==============================================================================
--- lucene/dev/trunk/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java
(original)
+++ lucene/dev/trunk/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java
Mon Apr  5 19:24:07 2010
@@ -27,8 +27,6 @@ import org.apache.velocity.Template;
 import org.apache.velocity.VelocityContext;
 import org.apache.velocity.app.VelocityEngine;
 import org.apache.velocity.tools.generic.*;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 import java.io.*;
 import java.util.Properties;
@@ -36,7 +34,7 @@ import java.util.Properties;
 public class VelocityResponseWriter implements QueryResponseWriter {
 
   // TODO: maybe pass this Logger to the template for logging from there?
-  private static final Logger log = LoggerFactory.getLogger(VelocityResponseWriter.class);
+//  private static final Logger log = LoggerFactory.getLogger(VelocityResponseWriter.class);
 
   public void write(Writer writer, SolrQueryRequest request, SolrQueryResponse response)
throws IOException {
     VelocityEngine engine = getEngine(request);  // TODO: have HTTP headers available for
configuring engine



Mime
View raw message