title: Websphere and logback
body: <p>I created a dynamic web project using IBM Rational Application Developer (RAD). I used Logback as the logging framework. I put the logback.xml in WEB-INF/classes. But the application does not pickup this configuration file. Logging inflormation are logged in console. But I expect this to logged in a file. Please see the logback.xml below</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;configuration&gt;
  
      &lt;appender name="FILE"
          class="ch.qos.logback.core.rolling.RollingFileAppender"&gt;
          &lt;file&gt;myApp.log&lt;/file&gt;
          &lt;encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder"&gt;
              &lt;Pattern&gt;%d{yyyy-MM-dd_HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n&lt;/Pattern&gt;
          &lt;/encoder&gt;
  
          &lt;rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy"&gt;
              &lt;FileNamePattern&gt;myApp.%i.log.zip&lt;/FileNamePattern&gt;
              &lt;MinIndex&gt;1&lt;/MinIndex&gt;
              &lt;MaxIndex&gt;10&lt;/MaxIndex&gt;
          &lt;/rollingPolicy&gt;
  
          &lt;triggeringPolicy
              class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy"&gt;
              &lt;MaxFileSize&gt;2MB&lt;/MaxFileSize&gt;
          &lt;/triggeringPolicy&gt;
  
      &lt;/appender&gt;
  
      &lt;logger name="com.nyl.ltc.logging.handler" level="ALL" /&gt;
  
      &lt;root level="INFO"&gt;
          &lt;appender-ref ref="FILE" /&gt;
      &lt;/root&gt;
  
  &lt;/configuration&gt;
  </code></pre>
  
  <p>I put the following jars in WEB-INF/lib</p>
  
  <ol>
  <li>logback-classic-1.0.11.jar</li>
  <li>logback-core-1.0.11.jar</li>
  <li>slf4j-api-1.7.5.jar</li>
  </ol>
  
  <p>I am using WebSphere Application Server v7.0.</p>
  
  <p>Please help me to resolve this issue.</p>
  
  <p>Note: I run the application in RAD's internal browser.</p>