4 Replies Latest reply on Oct 29, 2013 12:20 PM by Mader Levap

    How NOT to log an exception in the log file

    Adrian Mitev Master

      Hi all. I have the following in my pages.xml


           <exception class="javax.faces.application.ViewExpiredException" log-level="debug" log="false">
                <redirect view-id="/common/error.xhtml">
                     <message>#{messages.sessionTimeout}</message>
                </redirect>
           </exception>
      



      Seam redirects to the error page, but why does it print the stacktrace in the console?