Hi<div><br></div><div>I&#39;m trying to set up logback in my webservice app based on Spring and Cxf and run under Jetty. In case loggin to file using RollingFileAppender everythinks looks fine. But when i tried to set up console loggin with following properties</div>
<div><br></div><div>logback.xml:</div><div><br></div><div><div>&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;</div><div>&lt;configuration scan=&quot;true&quot; scanPeriod=&quot;5 seconds&quot;&gt;</div></div>
<div><div>    &lt;appender name=&quot;stdout&quot; class=&quot;ch.qos.logback.core.ConsoleAppender&quot;&gt;</div><div>        &lt;encoder&gt;</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>&lt;pattern&gt;%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n&lt;/pattern&gt;</div>
<div><span class="Apple-tab-span" style="white-space:pre">        </span>&lt;/encoder&gt;</div><div>    &lt;/appender&gt;</div></div><div><br></div><div><div>    &lt;root level=&quot;WARN&quot;&gt;</div><div>        &lt;appender-ref ref=&quot;stdout&quot;/&gt;</div>
<div>    &lt;/root&gt;</div></div><div>&lt;/configuration&gt;</div><div><br></div><div>in console where i run jetty i get logs look like :</div><div><br></div><div><div>2011-05-19 11:22:04 org.apache.cxf.interceptor.AbstractLoggingInterceptor log</div>
<div>INFO: Inbound Message</div><div>----------------------------</div><div>ID: 1</div><div>Address: <a href="http://localhost:8080/services/myws/getUserById?id=1">http://localhost:8080/services/myws/getUserById?id=1</a></div>
<div>Encoding: UTF-8</div><div>Http-Method: GET</div><div>Content-Type: application/xml; charset=utf-8</div><div>Headers: {Accept=[application/xml], content-type=[application/xml; charset=utf-8], Host=[localhost:8080]}</div>
<div>--------------------------------------</div><div><br></div><div>how to set up ConsoleAppender to get line per request log like in case RollingFileAppender:<br><br></div><div>(2011-05-19 10:32:16,991 INFO [com.myws.aop.LoggingAspect] - &lt;EXECUTION getUserById IN TIME : 12&gt;)</div>
<div><br></div><div>using logback 0.9.28</div><br>-- <br>kind regards<br>Darek Sztwiorok<br>
</div>