Hi!
Stephan Gruschke wrote:
> Well it can become much log output if many ejb's throwing application
> defined exception at the same time. The problem is how to determine
> which application exception should be logged and which not.
Well, that's easy: if you turn on debugging then all go to log, but, the
normal case is that no application exceptions are logged. As I said,
they are not really errors in either container or application.
> Maybe while developing beans every exception should be logged, for
> production use only the critical ones (the *really* unexpected).
RuntimeExceptions and EJBExceptions should always be logged, nothing
else, for production that is.
> Is it possible to set the preferences for exception logging in
> jboss.xml? Maybe with exception filtering capabilites (based upon regular
> expressions or package declarations)?
Not yet, but this should be doable.
/Rickard
--
Rickard �berg
Email: [EMAIL PROTECTED]
http://www.telkel.com
http://www.jboss.org
http://www.dreambean.com