tags:

views:

11

answers:

0

For Example; consider the following configuration file (scheme...)

Logger A contains appender1, appender2. Logger A.B contains appender3.

When calling B.getAppender("appender1") we get a null pointer. To verify this problem one can call Logger.getLogger("A.B").getAllAppenders() - only appender3 is being returned.

Why is that? is it a bug? how else can I get inherited appenders?

Thanks :)