[seam-commits] Seam SVN: r8707 - branches/Seam_2_0/doc/Seam_Reference_Guide/en-US.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Fri Aug 15 18:28:37 EDT 2008
Author: shane.bryzak at jboss.com
Date: 2008-08-15 18:28:37 -0400 (Fri, 15 Aug 2008)
New Revision: 8707
Modified:
branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Events.xml
Log:
JBSEAM-3272
Modified: branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Events.xml
===================================================================
--- branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Events.xml 2008-08-15 21:27:05 UTC (rev 8706)
+++ branches/Seam_2_0/doc/Seam_Reference_Guide/en-US/Events.xml 2008-08-15 22:28:37 UTC (rev 8707)
@@ -1000,44 +1000,6 @@
also available, as <literal>org.jboss.seam.exception</literal>.
</para>
- <section>
- <title>Suppressing exception logging</title>
-
- <para>
- For the exception handlers defined in <literal>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 attributes <literal>log</literal>
- and <literal>logLevel</literal> can be used to control exception logging. By setting
- <literal>log="false"</literal> as per the following example, then no log message will
- be generated when the specified exception occurs:
- </para>
-
- <programlisting role="XML"><![CDATA[ <exception class="org.jboss.seam.security.NotLoggedInException" log="false">
- <redirect view-id="/register.xhtml">
- <message severity="warn">You must be a member to use this feature</message>
- </redirect>
- </exception>]]></programlisting>
-
- <para>
- If the <literal>log</literal> attribute is not specified, then it defaults to <literal>true</literal>
- (i.e. the exception will be logged). Alternatively, you can specify the <literal>logLevel</literal>
- to control at which log level the exception will be logged:
- </para>
-
- <programlisting role="XML"><![CDATA[ <exception class="org.jboss.seam.security.NotLoggedInException" logLevel="info">
- <redirect view-id="/register.xhtml">
- <message severity="warn">You must be a member to use this feature</message>
- </redirect>
- </exception>]]></programlisting>
-
- <para>
- The acceptable values for <literal>logLevel</literal> are: <literal>fatal, error, warn, info, debug</literal>
- or <literal>trace</literal>. If the <literal>logLevel</literal> is not specified, or if an invalid value is
- configured, then it will default to <literal>error</literal>.
- </para>
-
- </section>
-
</section>
<section>
More information about the seam-commits
mailing list