logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33717] Leaving out %throwable in ConversionPattern adds throwable to logging message regardless
Date Sat, 10 Oct 2009 17:20:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=33717

Curt Arnold <carnold@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Curt Arnold <carnold@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


Mime
View raw message