SOLR-906 -- chaning log levels

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@732474 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2009-01-07 20:35:25 +00:00
parent 2192dbc0d0
commit 8d0b47c905
1 changed files with 2 additions and 1 deletions

View File

@ -82,6 +82,7 @@ public class StreamingUpdateSolrServer extends CommonsHttpSolrServer
public void run() {
lock.lock();
// info is ok since this should only happen once for each thread
log.info( "starting runner: {}" , this );
PostMethod method = null;
try {
@ -97,7 +98,7 @@ public class StreamingUpdateSolrServer extends CommonsHttpSolrServer
writer.append( "<stream>" ); // can be anything...
UpdateRequest req = queue.poll( 250, TimeUnit.MILLISECONDS );
while( req != null ) {
log.info( "sending: {}" , req );
log.debug( "sending: {}" , req );
req.writeXML( writer );
// check for commit or optimize