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 Sandilya <ga...@bea.com> on 2003/02/10 18:40:30 UTC

Fwd: Can't define custom level

>
>I am sure I am doing something wrong. All I wanted to do is to define a 
>custom log level.
>Why am I getting an NPE?
>
>thanks for help
>
>-- Sandilya
>
>
>java.lang.NullPointerException
>     at org.apache.log4j.Priority.isGreaterOrEqual(Priority.java:108)
>     at org.apache.log4j.Category.isDebugEnabled(Category.java:744)



This was working with 1.1.2.

After tweaking the APIs to get the right logger, I was able to get rid of 
NPE, but no logging shows up...

I still get Log4J not initialized properly....

if someone has done this before, I can explain what I am trying to do in detail

-- Sandilya

How to set configureAndWatch

Posted by win Patterson <wi...@fpg.com.tw>.
Hi...
      If I wanna set configureAndWatch, how do I do???
in the log4j.properties???


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