This is the wrong list. You want the [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] Sent: Thursday, February 06, 2003 7:49 PM To: [EMAIL PROTECTED] 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]