[jboss-jira] [JBoss JIRA] (LOGMGR-118) Support suppressed exceptions in log formatting
James Perkins (JIRA)
issues at jboss.org
Wed Apr 8 20:19:18 EDT 2015
[ https://issues.jboss.org/browse/LOGMGR-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13057171#comment-13057171 ]
James Perkins commented on LOGMGR-118:
--------------------------------------
Since this will be part of the formatter with the pattern formatter should we allow for a recursive depth? For example a value of 1 would only do {{Throwable.getSuppressed()}} on the cause. A value of 2 would be would be the cause and one level deep on each suppressed throwable.
Maybe 0 would be no suppressed messages and anything less than 0 means exhaustively recurse.
> Support suppressed exceptions in log formatting
> -----------------------------------------------
>
> Key: LOGMGR-118
> URL: https://issues.jboss.org/browse/LOGMGR-118
> Project: JBoss Log Manager
> Issue Type: Feature Request
> Components: core
> Reporter: David Lloyd
>
> In JDK 7 and on, a Throwable bundles a list of suppressed exceptions. We should be logging these as part of our exception formatting... however we have to do so thoughtfully, because every caused-by and suppressed exception may in turn have more suppressed exceptions and caused-by.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jboss-jira
mailing list