[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

David Lloyd (JIRA) jira-events at lists.jboss.org
Tue May 17 14:36:01 EDT 2011


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

David Lloyd commented on AS7-813:
---------------------------------

An API change will never be able to catch everything (I'm thinking of NPEs in particular), however I suspect that you could use something like ByteMan to do this...?

> 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
>            Assignee: Jason Greene
>            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