mirror of
https://github.com/apache/lucene.git
synced 2025-02-06 10:08:58 +00:00
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:
parent
2192dbc0d0
commit
8d0b47c905
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user