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

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496274 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bertrand Delacretaz 2007-01-15 10:59:46 +00:00
parent 3fefa3f9f1
commit 9737c076ae
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ public class Config {
instanceDir = normalizeDir(System.getProperty(prop)); instanceDir = normalizeDir(System.getProperty(prop));
if (instanceDir==null) { if (instanceDir==null) {
instanceDir=project + '/'; instanceDir=project + '/';
log.info("Solr home defaulted to '" + instanceDir + "'"); log.info("Solr home defaulted to '" + instanceDir + "' (system property " + prop + " not set)");
} else { } else {
log.info("Solr home set to '" + instanceDir + "' from system property " + prop); log.info("Solr home set to '" + instanceDir + "' from system property " + prop);
} }