<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>
</div><div><br></div>-- <br>Med venlig hilsen / Best regards<br><br>Kristian Lind<br>
</div>