SOLR 7.4.0 In the linux solr script, LOG4J_PROPS is expected to be the path to a custom log4j2.xml file. LOG4J_CONFIG ends up being a collection of all -Dlog4j.configurationFile=BLAH parameter strings.
In the windows solr.cmd script, LOG4J_PROPS is not respected at all. And LOG4J_CONFIG is expected to be the path to a custom log4j2.xml file. We run SOLR as part of our product which supports both linux and windows. It would be great if these variables could be respected consistently. On a related note, I was excited to see https://issues.apache.org/jira/browse/SOLR-7871. This would be a real life saver in cross-platform situations like ours. -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html