lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tflo...@apache.org
Subject svn commit: r1682677 - in /lucene/dev/branches/lucene_solr_5_2: ./ solr/ solr/core/ solr/core/src/java/org/apache/solr/request/SimpleFacets.java
Date Sun, 31 May 2015 05:32:45 GMT
Author: tflobbe
Date: Sun May 31 05:32:45 2015
New Revision: 1682677

URL: http://svn.apache.org/r1682677
Log:
SOLR-7406: Use slf4j logger instead of log4j in SimpleFacets

Modified:
    lucene/dev/branches/lucene_solr_5_2/   (props changed)
    lucene/dev/branches/lucene_solr_5_2/solr/   (props changed)
    lucene/dev/branches/lucene_solr_5_2/solr/core/   (props changed)
    lucene/dev/branches/lucene_solr_5_2/solr/core/src/java/org/apache/solr/request/SimpleFacets.java

Modified: lucene/dev/branches/lucene_solr_5_2/solr/core/src/java/org/apache/solr/request/SimpleFacets.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene_solr_5_2/solr/core/src/java/org/apache/solr/request/SimpleFacets.java?rev=1682677&r1=1682676&r2=1682677&view=diff
==============================================================================
--- lucene/dev/branches/lucene_solr_5_2/solr/core/src/java/org/apache/solr/request/SimpleFacets.java
(original)
+++ lucene/dev/branches/lucene_solr_5_2/solr/core/src/java/org/apache/solr/request/SimpleFacets.java
Sun May 31 05:32:45 2015
@@ -18,7 +18,6 @@
 package org.apache.solr.request;
 
 import org.apache.commons.lang.StringUtils;
-import org.apache.log4j.Logger;
 import org.apache.lucene.index.Fields;
 import org.apache.lucene.index.LeafReader;
 import org.apache.lucene.index.LeafReaderContext;
@@ -80,6 +79,8 @@ import org.apache.solr.search.grouping.G
 import org.apache.solr.util.BoundedTreeSet;
 import org.apache.solr.util.DateMathParser;
 import org.apache.solr.util.DefaultSolrThreadFactory;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
 
 import java.io.IOException;
 import java.util.ArrayList;
@@ -108,7 +109,7 @@ import java.util.concurrent.TimeUnit;
  */
 public class SimpleFacets {
   
-  private final static Logger log = Logger.getLogger(SimpleFacets.class);
+  private final static Logger log = LoggerFactory.getLogger(SimpleFacets.class);
 
   /** The main set of documents all facet counts should be relative to */
   protected DocSet docsOrig;



Mime
View raw message