<div dir="ltr">Even though I start up the server, JBoss AS 7, and the log is set to debug.. and I have this in the file.. <div><br></div><div><div><a href="http://log.info">log.info</a>("createOrder, consumerId = {}", new Object[] { consumerId });</div>
<div>log.debug("{}", new Object[] { orderXml });</div></div><div><br></div><div style>only the info is in the console, but nothing is in the log file.. ?? </div><div style><br></div><div style>In another class I have a log .. here I can turn on / off the debug.. works fine. </div>
<div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 10, 2013 at 2:33 PM, Robert Kuhar <span dir="ltr"><<a href="mailto:robertkuhar@gmail.com" target="_blank">robertkuhar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">It takes 8 or so "logging events" before it actually starts logging on the transition.  If you keep passing through the "Hi There" code, does it eventually show up?  Alternatively, if you start your Java program, does "Hi There" now show up at DEBUG?  I know I was surprised to learn of the "8 or so logging events" buffer the first time I encountered it.</div>

<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Wed, Apr 10, 2013 at 2:22 PM, Kristian Lind <span dir="ltr"><<a href="mailto:klpcrap@gmail.com" target="_blank">klpcrap@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr"><br style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div dir="ltr" style="font-family:arial,sans-serif;font-size:12.727272033691406px">logback 1.0.9<div>slf4j 1.7.3<br clear="all"><div>
<br>

</div><div>In code : </div><div><br></div><div>package com.mycomp.xx<br></div><div>....</div><div>log.debug("Hi there");<br></div><div><br></div><div><br></div><div>in logback.xml</div><div><br></div><div><logger name="com.mycomp.xx" level="DEBUG" /><br>


</div><div><br></div><div><br></div><div>I can see the in the log, that when I make a change to logback.xml... ( scanned every 30 seconds ) </div><div>.. </div><div><br></div><div><div>INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of logger [com.mycomp.xx] to DEBUG</div>


<div><br></div><div><br></div><div>But when executing the code, the log "Hi there" is not in the console or the logfile. </div><div><br></div><div>If I set this.. </div><div><br></div><div><div><root level="DEBUG"></div>


<div>        <appender-ref ref="CONSOLE"/></div><div>        <appender-ref ref="FILE"/></div><div></root><br></div><div><br></div><div>everything is logged... </div></div></div></div>

<span><font color="#888888">
</font></span></div><span><font color="#888888"><div><br></div>-- <br>Med venlig hilsen / Best regards<br><br>Kristian Lind<br>
</font></span></div>
<br></div></div>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch" target="_blank">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br></div>
<br>_______________________________________________<br>
Logback-user mailing list<br>
<a href="mailto:Logback-user@qos.ch">Logback-user@qos.ch</a><br>
<a href="http://mailman.qos.ch/mailman/listinfo/logback-user" target="_blank">http://mailman.qos.ch/mailman/listinfo/logback-user</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Med venlig hilsen / Best regards<br>
<br>Kristian Lind<br>
</div>