Skip to content

Apache Lucene open-source search software

SolrConfig says 'system property solr.solr.home not set' in the log, when using default Solr home

Bertrand Delacretaz9737c076ae69
diff --git a/src/java/org/apache/solr/core/Config.java b/src/java/org/apache/solr/core/Config.java
index 8a9e153ac0b..fd3b5b05715 100644
--- a/src/java/org/apache/solr/core/Config.java
+++ b/src/java/org/apache/solr/core/Config.java
@@ -239,7 +239,7 @@ public class Config {
instanceDir = normalizeDir(System.getProperty(prop));
if (instanceDir==null) {
instanceDir=project + '/';
- log.info("Solr home defaulted to '" + instanceDir + "'");
+ log.info("Solr home defaulted to '" + instanceDir + "' (system property " + prop + " not set)");
} else {
log.info("Solr home set to '" + instanceDir + "' from system property " + prop);
}