[jbossseam-issues] [JBoss JIRA] Closed: (JBSEAM-2071) Introduce log attribute to exception handlers

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Wed Jan 30 06:05:03 EST 2008


     [ http://jira.jboss.com/jira/browse/JBSEAM-2071?page=all ]

Shane Bryzak closed JBSEAM-2071.
--------------------------------

    Resolution: Done

Implemented in CVS.  Exception handlers now support a "log" attribute, which be used to suppress logging of the exception (defaults to true): 

    <exception class="org.jboss.seam.security.NotLoggedInException" log="false">

And also a "logLevel" attribute to control the logging level:

    <exception class="org.jboss.seam.security.NotLoggedInException" logLevel="debug">

Valid values for logLevel are: fatal,error,warn,info,debug,trace.

> Introduce log attribute to exception handlers
> ---------------------------------------------
>
>                 Key: JBSEAM-2071
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2071
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 2.0.0.CR2
>            Reporter: Shane Bryzak
>         Assigned To: Shane Bryzak
>            Priority: Critical
>             Fix For: 2.1.0.GA
>
>
> As suggested by Gavin in the forum post, we should be able to suppress logging of specific exception types.  That way people can decide whether they want NotLoggedInException etc errors cluttering up their log file.
> <exception class="MyException" log="false">
>     ...
> </exception>	

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list