2 Replies Latest reply on Mar 22, 2007 10:25 AM by Tom Goring

    Do we need failed page access logged as ERROR

    Alex Kozlenkov Newbie

      I'm not sure it was like this before but accessing a restricted page while not logged in dumps the stack trace into the ERROR channel.

      09:48:59,808 ERROR [SeamPhaseListener] uncaught exception
      org.jboss.seam.security.NotLoggedInException
       at org.jboss.seam.security.Identity.checkRestriction(Identity.java:156)
       at org.jboss.seam.pages.Page.enter(Page.java:203)
      ...
      This is due to Line 69 in SeamPhaseListener:
      log.error("uncaught exception", e);

      Do we really need it?
      Cheers--Alex