lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hoss...@apache.org
Subject svn commit: r1514053 - in /lucene/dev/trunk/solr/core/src/java/org/apache/solr: core/SolrCore.java update/processor/UpdateRequestProcessorChain.java
Date Wed, 14 Aug 2013 21:23:16 GMT
Author: hossman
Date: Wed Aug 14 21:23:15 2013
New Revision: 1514053

URL: http://svn.apache.org/r1514053
Log:
Simple init logging of processor chains

Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessorChain.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java?rev=1514053&r1=1514052&r2=1514053&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/SolrCore.java Wed Aug 14 21:23:15
2013
@@ -898,6 +898,7 @@ public final class SolrCore implements S
       def = map.get(null);
     } 
     if (def == null) {
+      log.info("no updateRequestProcessorChain defined as default, creating implicit default");
       // construct the default chain
       UpdateRequestProcessorFactory[] factories = new UpdateRequestProcessorFactory[]{
               new LogUpdateProcessorFactory(),

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessorChain.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessorChain.java?rev=1514053&r1=1514052&r2=1514053&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessorChain.java
(original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/update/processor/UpdateRequestProcessorChain.java
Wed Aug 14 21:23:15 2013
@@ -112,6 +112,8 @@ public final class UpdateRequestProcesso
       (null != info.name ? info.name : "") + "\"" + 
       (info.isDefault() ? " (default)" : "");
 
+    log.info("creating " + infomsg);
+
     // wrap in an ArrayList so we know we know we can do fast index lookups 
     // and that add(int,Object) is supported
     List<UpdateRequestProcessorFactory> list = new ArrayList



Mime
View raw message