0 Replies Latest reply on Sep 24, 2009 1:06 PM by sw_bpel

    Disable Exception logging (StackTrace)

    sw_bpel

      Hello,


      i have some problems with the exception logging of seam. Hopefully someone can help me?!
      I wrote my one Exception and annotated it by


      @ApplicationException(end = false, rollback = false)
      @Redirect(viewId = "/entity/error.xhtml")



      so if an error occurs i'm getting redirected to the error page where the error message is displayed. So that works fine.
      But in my log-file i'm always getting the whole stacktrace printed, but i don't want so. Is there any way to disable logging of such exceptions or just log the error message and not the whole stacktrace, because this isn't necessary at this place.


      Thanks a lot,
      Stefan