logback 1.0.9
slf4j 1.7.3

In code :

package com.mycomp.xx
....
log.debug("Hi there");


in logback.xml

<logger name="com.mycomp.xx" level="DEBUG" />


I can see the in the log, that when I make a change to logback.xml... (
scanned every 30 seconds )
..

INFO in ch.qos.logback.classic.joran.action.LoggerAction - Setting level of
logger [com.mycomp.xx] to DEBUG


But when executing the code, the log "Hi there" is not in the console or
the logfile.

If I set this..

<root level="DEBUG">
        <appender-ref ref="CONSOLE"/>
        <appender-ref ref="FILE"/>
</root>

everything is logged...

-- 
Med venlig hilsen / Best regards

Kristian Lind
_______________________________________________
Logback-user mailing list
[email protected]
http://mailman.qos.ch/mailman/listinfo/logback-user

Reply via email to