]
Pete Muir updated JBSEAM-2598:
------------------------------
Fix Version/s: 2.1.0.BETA1
(was: 2.1.0.GA)
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: Seam
Issue Type: Feature Request
Components: Exception Handling
Reporter: Shane Bryzak
Fix For: 2.1.0.BETA1
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: