title: Logback Not working in Tomcat
body: <p>I am using Tomcat 7 and have configured the shared library path using shared.loader property in catalina file. Now I have a web application which doesn t contain any libraries within the /WEB-INF/lib as i have a shared folder in tomcat for all the dependencies.</p>
  
  <p>Problem :</p>
  
  <p>My application always takes Basic Logback configurator rather than using the config file which i have given inside application's /WEB-INF/classes/logback.xml. How to make Logback load the config file which is inside the /WEB-INF/classes directory.</p>
  
  <p>Findings :</p>
  
  <p>I have checked the stack overflow and got a similar issue,</p>
  
  <p><a href="https://stackoverflow.com/questions/3078842/tomcat-and-logback-xml?rq=1">Tomcat and logback.xml</a></p>
  
  <p>but the solution they gave is to move the logback.jar file to /WEB-INF/lib folder of web application and logback.xml will be identified, which even worked for me. But I don t want to move the libararies to web application instead I want to have it in Tomcat Shared folder.</p>
  
  <p>So Kindly let me know how I can make logback find the config file within /WEB-INF/classes directory and have my logback dependencies located in Tomcat shared folder.</p>
  
  <p>Thanks,
  Prasanna Venkataraman.</p>