Simple init logging of processor chains

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1514053 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Chris M. Hostetter 2013-08-14 21:23:15 +00:00
parent d686fd8f02
commit da18c280f0
2 changed files with 3 additions and 0 deletions

View File

@ -898,6 +898,7 @@ public final class SolrCore implements SolrInfoMBean {
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(),

View File

@ -112,6 +112,8 @@ public final class UpdateRequestProcessorChain implements PluginInfoInitialized
(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