1 Reply Latest reply on Oct 5, 2008 6:45 PM by pmuir

    Suppressing exception logging not working

    accountclosed

      Hi ...


      I'm using Seam 2.0.2 and I have the following in my pages.xml file:



      <exception
        class="org.jboss.seam.security.NotLoggedInException"
        log="false">
        <redirect view-id="/index.xhtml">
          <message severity="warn">
            Your session ended or expired.</message>
        </redirect>
      </exception>



      In chapter 5, section 5.11.4.1 of the Seam 2.0.2 manual it states:


      By setting log false as per the following example, then no log message will be generated when the specified exception occurs


      But I'm still getting uncaught exceptions showing up in the log when the user goes back and attempts to resubmit information (although the page simply shows the warning message from the exception element in the pages.xml file).


      Anyone know how I can suppress messages to the log?