[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1021) Don't log exceptions if they are handled in pages.xml

Adrian Mitev (JIRA) jira-events at lists.jboss.org
Thu Jan 29 11:07:44 EST 2009


    [ https://jira.jboss.org/jira/browse/JBSEAM-1021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12450278#action_12450278 ] 

Adrian Mitev commented on JBSEAM-1021:
--------------------------------------

This doesn't work for me (with Seam 2.1.1). For more info look here - http://seamframework.org/Community/HowNOTToLogAnExceptionInTheLogFile

> Don't log exceptions if they are handled in pages.xml
> -----------------------------------------------------
>
>                 Key: JBSEAM-1021
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-1021
>             Project: Seam
>          Issue Type: Bug
>          Components: Security
>            Reporter: Christian Bauer
>            Assignee: Shane Bryzak
>            Priority: Minor
>             Fix For: 2.1.0.A1
>
>
> Mostly relevant for security:
> 01:54:16,042 ERROR [SeamPhaseListener] uncaught exception
> javax.faces.el.EvaluationException: Exception while invoking expression #{documentHome.checkNodePermission}
> ...
> You get hundreds of these when you run a site with security. Didn't find an open JIRA case for that.
> I think the SeamPhaseListener should not log.error() "uncaught exception" and print the whole thing _and_ pass it on to Exceptions.instance().handle(e). The phase listener doesn't know if it's handled or not.

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

        



More information about the seam-issues mailing list