How to deploy the same webapp with different logging? (Tomcat, Solr)

Posted by Karussell on Stack Overflow See other posts from Stack Overflow or by Karussell
Published on 2010-06-11T18:58:20Z Indexed on 2010/06/11 19:03 UTC
Read the original article Hit count: 164

Filed under:
|
|

We are using multiple solr instances on tomcat but want that they log into different log files. How could we do this?

We are using the follwing xml file under tomcat/conf/Catalina/localhost to make it working:

<Context docBase="/pathtosolr/dist/apache-solr-1.4.0.war" debug="0" crossContext="true" >
   <Environment name="solr/home" type="java.lang.String" value="/pathtosolr/solr" override="true" />
</Context>

© Stack Overflow or respective owner

Related posts about tomcat

Related posts about logging