[logback-dev] http://logback.qos.ch/manual/configuration.html#loggerElement something wrong

zuxiong lin linzuxiong1988 at gmail.com
Wed Aug 24 08:22:01 CEST 2011


Configuring loggers, or the <logger>
each appender thus referenced is added to the named logger. Note that unlike
log4j, logback-classic does not close or remove any previously referenced
appenders before adding the new appender reference.

In log4j version 1.2.16 , any previously referenced appenders  are valid.
<logger name="classlogger" additivity="false">
<level value="INFO" />
<appender-ref ref="MYINFO_FILE" />
<appender-ref ref="DEBUG" />

So, the manual is wrong.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-dev/attachments/20110824/984eff90/attachment.html>

More information about the logback-dev mailing list