I've changed my solr-4.1.0.war file to use log4j, now every instance of solr I 
have on tomcat produces logs to /logs/solr.log

In "tomcat/solr_app1/WEB-INF/classes/log4j.properties" I have a variable to set 
the path for the log file

log4j.appender.FILE.File=${solr.logs.home}/solr.log which is set in 
CATALINA_OPTS="-Dsolr.logs.home=/logs/"

I'd like to have a separate file for each webapp like so 
"log4j.appender.FILE.File=${solr.logs.home}/${solr_webapp}.log".

My Question is:
How do I pass this variable into each individual solr webapp is it via the solr 
context files?

Thanks

Russ.


*******************************************************
This message (including any files transmitted with it) may contain confidential 
and/or proprietary information, is the property of Interactive Data Corporation 
and/or its subsidiaries, and is directed only to the addressee(s). If you are 
not the designated recipient or have reason to believe you received this 
message in error, please delete this message from your system and notify the 
sender immediately. An unintended recipient's disclosure, copying, 
distribution, or use of this message or any attachments is prohibited and may 
be unlawful. 
*******************************************************

Reply via email to