[jboss-jira] [JBoss JIRA] Commented: (AS7-813) configuration option to show/hide system/user application exceptions and possibly new api method for logging a system exception versus user application exception

Scott Marlow (JIRA) jira-events at lists.jboss.org
Fri May 20 16:03:01 EDT 2011


    [ https://issues.jboss.org/browse/AS7-813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603514#comment-12603514 ] 

Scott Marlow commented on AS7-813:
----------------------------------

Thinking more about this, the logging API doesn't need to change to allow infrastructure exceptions to be shown.  I think its more of a convention that needs to be followed.  I'll add my thoughts as a comment on http://community.jboss.org/wiki/HowtologinJBossprojects instead.  I'll close this jira (and reference it from the wiki in case we want to open again).

> configuration option to show/hide system/user application exceptions and possibly new api method for logging a system exception versus user application exception
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-813
>                 URL: https://issues.jboss.org/browse/AS7-813
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Logging
>            Reporter: Scott Marlow
>            Priority: Minor
>
> I would like to be able to show/hide system exception call stacks in the logs based on a configuration option.  The same for showing/hiding user application exception call stacks.
> To support the above configuration change, I would like to see a way to log a system exception versus an user application exception.  
> By system exception, I mean any exception that is logged via a distinctive api method.  Perhaps something like:
>   log.systemError(String message, Throwable infrastructureException);
> This would help reduce the time it takes to debug infrastructure issues (e.g. the NPE at http://pastie.org/1917562 is well hidden which in itself is a bug).  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list