No response on the log4j-user list...
 
Anyone want to look at this?
 
Please copy me on any replies, since I'm not sure if I'm subscribed to this list.
 
Thanks,
Wes
----- Original Message -----
From: Wes
Sent: Tuesday, August 07, 2001 4:20 PM
Subject: problem with VectorWriter class (in ThrowableInformation.java)

I have my own subclass of Exception, where I have overridden the printStackTrace methods.  I just today noticed that part of what I'm printing to the stack trace is not showing up when I do Category.log("message", exception)
 
I traced the problem to the fact that the VectorWriter class does not fully override all the methods of PrintWriter.  I was using print(), and the VectorWriter only overrode the println() methods.  Thus, what I was sending to the PrintWriter.print method was not added into the internal Vector of the VectorWriter.
 

Reply via email to