<p>Hi,</p>
<div>I am new you slf4j using logback.xml, I am trying to integrate with jboss and spring web service, i am getting the debugger log, </div>
<div>but DEBUG </div>
<div>1) httpclient.wire.header and </div>
<div>2) [org.springframework.web.servlet.DispatcherServlet]</div>
<div>both the above mentioned debug logs are logged into jboss server server.log, instead of logging to my own log called somelog.log</div>
<div>which i configure in logback.xml</div>
<div> </div>
<div>Anything we need to specially configure for these two jars, I think because jboss is loading their own lib, we need to took the jar files from the ear, for that we need to configure in logback.xml. But I am not sure how to configure to put those logs here in my own logger.</div>
<div> </div>
<div><included></div>
<div> <appender name="SYSOUT" class="ch.qos.logback.core.ConsoleAppender"><br> <layout class="ch.qos.logback.classic.PatternLayout"><br> <pattern>%d{ISO8601} [%t] %-5p %lo{40} - %m%n</pattern><br>
</layout><br> </appender></div>
<div> <!--Daily rolling file appender --><br> <appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender"><br> <File>${jboss.server.log.dir}/csm.log</File><br>
<append>true</append><br> <BufferedIO>false</BufferedIO><br> <!-- <br> <Encoding>UTF-16</Encoding><br> --><br> <ImmediateFlush>true</ImmediateFlush><br>
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"><br> <FileNamePattern>${jboss.server.log.dir}/csm.%d{yyyy-MM-dd}.log.gz</FileNamePattern><br> </rollingPolicy><br>
<layout class="ch.qos.logback.classic.PatternLayout"><br> <pattern>%date{HH:mm:ss.SSS} [%t] %-5p %-40lo{40} - %m%n</pattern><br> </layout><br> </appender><br> <logger name="com.air2web" additivity="false"><br>
<appender-ref ref="FILE"/><br> <level value="debug" /><br> </logger></div>
<div> <logger name="httpclient.wire.header"><br><level value="trace"/><br></logger></div>
<div> <logger name="httpclient.wire" additivity="false"><br> <appender-ref ref="FILE"/><br> <level value="info" /><br> </logger></div>
<p> <logger name="httpclient.wire.header" additivity="false"><br> <appender-ref ref="FILE"/><br> <level value="debug"/><br> <level value="info" /><br>
</logger></p>
<p> <logger name="org.springframework" additivity="false"><br> <appender-ref ref="FILE"/><br> <level value="ERROR"/></p>
<p> </logger></p>
<p> <logger name="org.springframework.web"<br>><br> <level value="ERROR"/></p>
<p> </logger><br> <logger name="<a href="http://org.springframework.ws">org.springframework.ws</a>"><br> <level value="ERROR"/></p>
<p> </logger></p>
<p>but not reflecting in log.</p>
<p>Could you please help me.</p>
<p>Thanks in Advance<br>Sridhar</p>