Skip to content

Apache Lucene open-source search software

fix logging

Sami Sirenf2a682a587ab
diff --git a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java b/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
index 596f08b4bc2..d77bf8085b6 100644
--- a/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
+++ b/solr/core/src/java/org/apache/solr/handler/component/HttpShardHandlerFactory.java
@@ -161,7 +161,7 @@ public class HttpShardHandlerFactory extends ShardHandlerFactory implements Plug
T temp = (T) initArgs.get(configKey);
toReturn = (temp != null) ? temp : defaultValue;
}
- log.info("Setting {} to: {}", configKey, soTimeout);
+ log.info("Setting {} to: {}", configKey, toReturn);
return toReturn;
}