You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by DE BENEDICTIS DAVIDE <dd...@sogei.it> on 2004/09/10 14:44:06 UTC

Getting Logger level

I'm trying to retrieve logging level for a configured logger.
Everything works fine but if I call 

someLogger.getLevel();

I'm always getting null? And of course a nice NullPointerException...

Java docs says that can be null. Why? And How I get the current Level?

Thank you in advance.

--
Davide De Benedictis


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org