logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Moore <jim.mo...@veritas.com>
Subject RE: Can't define custom level
Date Fri, 07 Feb 2003 02:00:41 GMT
This is the wrong list.  You want the log4j-user@jakarta.apache.org list.
This one is for the developers OF log4j.

Because you're passing in a null Priority.  You can see the code for
Priority here:
http://cvs.apache.org/viewcvs/jakarta-log4j/src/java/org/apache/log4j/Priori
ty.java?rev=1.23

Without any more information, that's the best that can be said.


-----Original Message-----
From: Sandilya [mailto:garimels@bea.com] 
Sent: Thursday, February 06, 2003 7:49 PM
To: log4j-dev@jakarta.apache.org
Subject: 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) 

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


Mime
View raw message