SOLR-8433: Move logging for HttpClientConfigurer

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721592 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Joel Bernstein 2015-12-24 02:43:02 +00:00
parent c5e2b3508e
commit da9479ca55
1 changed files with 3 additions and 1 deletions

View File

@ -54,7 +54,6 @@ public abstract class IterativeMergeStrategy implements MergeStrategy {
params.set(HttpClientUtil.PROP_MAX_CONNECTIONS, 128);
params.set(HttpClientUtil.PROP_MAX_CONNECTIONS_PER_HOST, 32);
HttpClientConfigurer configurer = HttpClientUtil.getConfigurer();
log.info("############### HttpClientConfigurer ##################:"+configurer.getClass());
httpClient = HttpClientUtil.createClient(params);
}
@ -94,6 +93,9 @@ public abstract class IterativeMergeStrategy implements MergeStrategy {
private ShardResponse originalShardResponse;
public CallBack(ShardResponse originalShardResponse, QueryRequest req) {
log.info("############### HttpClientConfigurer ##################:" + HttpClientUtil.getConfigurer().getClass());
log.info("################ SHARD ADDRESSS ##############:" + originalShardResponse.getShardAddress());
log.info("############ HTTP Client #############:"+ httpClient.getClass());
List<String> schemes = httpClient.getConnectionManager().getSchemeRegistry().getSchemeNames();