logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yun-young LEE <prog...@gmail.com>
Subject bug:logger name without dot not additive to root logger
Date Tue, 05 Feb 2013 15:32:34 GMT
I'd configure log4j 2.0-beta4 like next configuration, but "com" logs not added to root console
logger.

<loggers>
<logger name="com">
<appender-ref ref="file">
</logger>

<root level="DEBUG">
<appender-ref ref="console">
</root>
</logers>

BaseConfiguration.setParents() don't set parent ordinarily without '.' in logger name.

Patch attached.
(FailoverAppenderTest failed after fix BaseConfiguration, so fix log4j-failover.xml also)

Mime
View raw message