Curt Arnold wrote:
>
> A null return from Logger.getLevel() indicates that logger does not
> have an explicit level, but inherits a level from its parent or their
> parents. If you return the parent's level in this situation, you can
> no longer distinguish between a logger who has a level of its own and
> should not be affected by a change of its parent's level and a logger
> which has no level of its own and should be affected by a change of
> its parent's level.
>
It was the only solution I found to solve it.
Actually in my log4j.xml this loggers are defined as:
<logger name="ExitProcess_9901" additivity="false">
<level value="DEBUG"/>
<appender-ref ref="EXIT_1"/>
</logger>
<logger name="ErrorProcess_6601" additivity="false">
<level value="DEBUG"/>
<appender-ref ref="ERROR_1"/>
</logger>
So all my levels are explicit.
Bye
--
Davide
--
View this message in context:
http://www.nabble.com/Changing---Retrieving-log4j-config-at-runtime-tf3238396.html#a9007161
Sent from the Log4j - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]