Hi, I was looking for a fix to a bug with the SMTPAppender when it prints the stack trace a few day ago. Since then I have had no reply about whether it has been found or not and so proceeded to create a sub-class of the Appender to fix the problem.
The fix was achieved by overriding one of the SMTPAppenders methods, the sendBuffer() method. And changed the code from for (int j = 0; j < s.length; j++) { sbuf.append(s[j]); } to for (int j = 0; j < s.length; j++) { sbuf.append(s[j]); sbuf.append('\n'); } Im not sure if this is the best way to solve the problem, but works for my situation. If there is a better or more logj4 way of doing this can you let me know. This is my first change to the log4j code and havn't read a lot of it. I was hoping to find out if this has already been fixed somewhere, or is planned to be. Also if it is not, how would I go about logging this as a bug. Thanks for your time -------------------------------- Steve Mactaggart Systems Architect 1300Ttimes BH +61 (03) 9620 7477 FAX +61 (03) 9620 7377 EMAIL [EMAIL PROTECTED] WEB www.1300Ttimes.com -------------------------------- -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>