[seam-commits] Seam SVN: r9435 - branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Oct 27 09:58:40 EDT 2008


Author: manaRH
Date: 2008-10-27 09:58:40 -0400 (Mon, 27 Oct 2008)
New Revision: 9435

Modified:
   branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Events.xml
Log:
JBPAPP-1317

Modified: branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Events.xml
===================================================================
--- branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Events.xml	2008-10-27 13:53:01 UTC (rev 9434)
+++ branches/enterprise/JBPAPP_4_3_FP01/doc/Seam_Reference_Guide/en-US/Events.xml	2008-10-27 13:58:40 UTC (rev 9435)
@@ -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