You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2009/10/10 19:20:05 UTC
DO NOT REPLY [Bug 33717] Leaving out %throwable in ConversionPattern
adds throwable to logging message regardless
https://issues.apache.org/bugzilla/show_bug.cgi?id=33717
Curt Arnold <ca...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Curt Arnold <ca...@apache.org> 2009-10-10 10:20:01 UTC ---
Fixed in EnhancedPatternLayout in extras companion with revision 823889. log4j
1.3 has been abandoned.
Added %throwable{none} to suppress exception entirely. The existing
%throwable{short} will output the first line of the stack trace and a newline.
Without a %throwable in the pattern, PatternLayout.ignoresThrowable returns
true which results in most appenders handling the stack trace themselves.
Prior to %throwable{none}, there was no way short of overriding the class to
totally suppress the trace info.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org