If you want both, create a logger in your handler and log the
exception given to you.

On Wed, Dec 17, 2008 at 4:27 AM, Marsman <[email protected]> wrote:
>
> Hi!
>
> As mentioned in my Struts 2 guide, I've coded a general error page for
> unexpected errors and included it over the global-message-mapping
> configuration. When an exception occurs, the error page will be displayed to
> the user. But exceptions are not logged in my logfile anymore. No stack
> trace even. How can I get both, the error page and a logfile entry?
>
> Thanks, Titus
>
> --
> View this message in context: 
> http://www.nabble.com/Global-exception-handling-prevents-logging-tp21050585p21050585.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to