Missing Stack Trace usign log4j

B

brian.vanheesch

I am creating a custom log4j appender (extends AppenderSkeleton) to
record data into a previous developed logging system.

com.datamodel.WorkOrder - CANNOT PROCESS PROPERLY
java.lang.NullPointerException
.....

the line prefixed with ">>" is the log header record.

My problem is that I do not know whether the NPE exception is generated
and reported in the appender or in the calling code; since there is no
stack trace printed.

Is there appender debugging tools or can someone offer a suggestion
here?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top