Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Missing Stack Trace usign log4j

Thread Tools

Missing Stack Trace usign log4j
Posts: n/a
I am creating a custom log4j appender (extends AppenderSkeleton) to
record data into a previous developed logging system.

On occasion (18 times out of test order 120,000 executions) (not
reproducable, as of yet), I get the following message in my log file:

>> 160954.679:Notification Processor #4:INFO

com.datamodel.WorkOrder - CANNOT PROCESS PROPERLY

>> 160954.679:Notification Processor #4:INFO


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

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
C/C++ compilers have one stack for local variables and return addresses and then another stack for array allocations on the stack. Casey Hawthorne C Programming 3 11-01-2009 08:23 PM
Missing Stack Trace using log4j Java 0 01-23-2006 04:15 PM
Log4j stack trace depth Java 0 10-26-2005 10:54 AM
Important Stack Trace Data Missing When App Moved RC ASP .Net 2 11-30-2004 11:30 PM
log4j - Omitting stack trace with ConsoleAppender Christian Ashby Java 5 08-24-2004 10:07 PM