title: log4j multiple configuration files
body: <p>I have couple of projects embedded in a web app as jars. Each project has a log4j.properties file. When the web app is deloyed, which configuration file gets used and how to override the configurations in log4j.xml in a jar file. The jars are not web projects. They are more like service layer code. What is the order in which the log4j.properties file is loaded in the below scenario</p>
  
  <pre><code>Web-project
     classes
        log4j.properties
     ProjectB.jar
        com
        log4j.properties
     ProjectC.jar
        com
        log4j.properties and so on. 
  </code></pre>