From seam-commits at lists.jboss.org Wed Jan 30 05:58:20 2008 Content-Type: multipart/mixed; boundary="===============4625505723329594259==" MIME-Version: 1.0 From: seam-commits at lists.jboss.org To: seam-commits at lists.jboss.org Subject: [seam-commits] Seam SVN: r7305 - trunk/doc/reference/en/modules. Date: Wed, 30 Jan 2008 05:58:20 -0500 Message-ID: --===============4625505723329594259== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Author: shane.bryzak(a)jboss.com Date: 2008-01-30 05:58:20 -0500 (Wed, 30 Jan 2008) New Revision: 7305 Modified: trunk/doc/reference/en/modules/events.xml Log: JBSEAM-2071 Modified: trunk/doc/reference/en/modules/events.xml =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- trunk/doc/reference/en/modules/events.xml 2008-01-30 10:52:55 UTC (rev = 7304) +++ trunk/doc/reference/en/modules/events.xml 2008-01-30 10:58:20 UTC (rev = 7305) @@ -985,7 +985,45 @@ was actually handled by an exception handler. The outermost (wr= apper) exception is = also available, as org.jboss.seam.exception. + = + + Suppressing exception logging + = + + For the exception handlers defined in pages.xml<= /literal>, it is possible + to declare the logging level at which the exception will = be logged, or to even + suppress the exception being logged altogether. The attr= ibutes log + and logLevel can be used to control ex= ception logging. By setting = + log=3D"false" as per the following exa= mple, then no log message will + be generated when the specified exception occurs: + + = + + + You must be a member to use this fe= ature + + ]]> + = + + If the log attribute is not specified,= then it defaults to true + (i.e. the exception will be logged). Alternatively, you = can specify the logLevel + to control at which log level the exception will be logge= d: = + = + + + You must be a member to use this fe= ature + + ]]> + = + + The acceptable values for logLevel ar= e: fatal, error, warn, info, debug = + or trace. If the logLevel is not specified, or if an invalid value is + configured, then it will default to error. = + + = + + = --===============4625505723329594259==--