After a bit of testing I got it working. Basically all the configuration for
log4j by default is under server/resources/log4j.properites. 
By default log4j should be able to find log4j.xml if you delete
log4j.properties. I tried it and that's no the case. 

I figured out this is due the fact that solr script "solr start" sets the
configuration file manually. I replaced in the script "log4j.properties" by
"log4j.xml" and it works well.

I basically need it because some extensions don't work without log4j.xml. 

Please correct me if what I am doing doesn't make sense.

Thanks 
Sergio



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Using-log4j-xml-in-Solr6-tp4288742p4288895.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to