From aa949373b3dbe8ffd46503ac9c0fe936cabf8ced Mon Sep 17 00:00:00 2001 From: Erik Hatcher Date: Mon, 5 Apr 2010 19:24:07 +0000 Subject: [PATCH] remove logging API usage, mainly because it isn't used, but also caused a test failure git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@930931 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/solr/response/VelocityResponseWriter.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java b/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java index 012692db50a..454a0e57564 100644 --- a/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java +++ b/solr/contrib/velocity/src/main/java/org/apache/solr/response/VelocityResponseWriter.java @@ -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