[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2598) Exception handling - Never log and handle an exception, do one or the other

Shane Bryzak (JIRA) jira-events at lists.jboss.org
Thu Feb 7 07:14:03 EST 2008


Exception handling - Never log and handle an exception, do one or the other
---------------------------------------------------------------------------

                 Key: JBSEAM-2598
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2598
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
            Reporter: Shane Bryzak
             Fix For: 2.1.0.GA


Either I see my exception in the log (because it is one of the VERY
RARE silently recoverable exceptions - I would not know a single one)
or it is handled by my exception handler. Actually, I should never see
an exception in my log unless I say so in my exception handler. I've
seen Shane doing some commits about this but he only made logging
configurable in Exceptions.handle(), which runs AFTER
SeamPhaseListener already dumps a log.error("Uncaught exception", e).
So basically, you can now configure if you want an exception logged
twice or just once. This is btw killing me in production because my
log fills up with login-password failures if someone makes a typo.

-- 
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