SOLR-2353: SpellCheckCollator uses org.mortbay.log.Log for logging - via Sami Siren

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1070321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2011-02-13 23:09:50 +00:00
parent 64b1c3ef1f
commit 23e9af6057
1 changed files with 1 additions and 2 deletions

View File

@ -29,7 +29,6 @@ import org.apache.solr.handler.component.ResponseBuilder;
import org.apache.solr.handler.component.SearchComponent;
import org.apache.solr.request.LocalSolrQueryRequest;
import org.apache.solr.response.SolrQueryResponse;
import org.mortbay.log.Log;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@ -91,7 +90,7 @@ public class SpellCheckCollator {
queryComponent.process(checkResponse);
hits = (Integer) checkResponse.rsp.getToLog().get("hits");
} catch (Exception e) {
Log.warn("Exception trying to re-query to check if a spell check possibility would return any hits.", e);
LOG.warn("Exception trying to re-query to check if a spell check possibility would return any hits.", e);
} finally {
checkResponse.req.close();
}