DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=34026>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=34026





------- Additional Comments From [EMAIL PROTECTED]  2005-07-07 08:19 -------
Please Note that other appenders check for ignoresThrowable() but they does not 
realy ignores, for example PatternLayout ignoresThrowable() returns true and 
java doc says "The PatternLayout does not handle the throwable contained within 
LoggingEvents. Thus, it returns true" but appenders print stack trace.

So Line in all above mentioned appenders:
if(layout.ignoresThrowable()) { 
should be modified to
if(!layout.ignoresThrowable()) { 
in order to prevent stack trace printing if it is ignored from layout

Workaround to this problem is just extend appropriate layout, override 
ignoresThrowable() method, return true if stack trace must be printed and 
return false if not and finally use this layout in your log4j config.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to