SOLR-2644 -- When using threads=2 the default logging is set too high

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1145502 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2011-07-12 09:13:29 +00:00
parent 3ff99e4adc
commit 52649534ac
3 changed files with 10 additions and 4 deletions

View File

@ -14,7 +14,7 @@ $Id$
================== 3.4.0-dev ==============
(No changes)
* SOLR-2644: When using threads=2 the default logging is set too high (Bill Bell via shalin)
================== 3.3.0 ==================

View File

@ -466,9 +466,13 @@ public class DocBuilder {
}
}
if (entity.isDocRoot) {
LOG.info("a row on docroot" + docWrapper);
if (LOG.isDebugEnabled()) {
LOG.debug("a row on docroot" + docWrapper);
}
if (!docWrapper.isEmpty()) {
LOG.info("adding a doc "+docWrapper);
if (LOG.isDebugEnabled()) {
LOG.debug("adding a doc "+docWrapper);
}
boolean result = writer.upload(docWrapper);
docWrapper = null;
if (result){

View File

@ -91,7 +91,9 @@ public class ThreadedEntityProcessorWrapper extends EntityProcessorWrapper {
return null;
}
}
LOG.info("arow : "+arow);
if (LOG.isDebugEnabled()) {
LOG.debug("arow : " + arow);
}
if(arow == null) entityRunner.entityEnded.set(true);
}
if (arow == null) {