users@jersey.java.net

[Jersey] Re: Logging unhandled exceptions?

From: Pavel Bucek <pavel.bucek_at_oracle.com>
Date: Tue, 05 Jun 2012 07:58:08 +0200

Hello Jeremy,

unhandled exceptions should be present in server/container log, but
there might be some glitch where the issue is swallowed without proper
notice. Have you encountered such situation? Or do you want something
different (maybe more suitable for your needs?)

Regards,
Pavel

On 6/4/12 11:05 PM, Jeremy Johnson wrote:
>
> Sorry, I realize I could have been a little more specific. I'd like
> log the traces of any unhandled exceptions raised by my Jersey
> resource classes. What's the recommended approach to implement this?
>
> Thanks!
>
> Jeremy
>
> *From:*Jeremy Johnson
> *Sent:* Monday, June 04, 2012 4:43 PM
> *To:* users_at_jersey.java.net
> *Subject:* Logging unhandled exceptions?
>
> I notice that Jersey doesn't seem to log internal errors generated
> from unhandled exceptions raised in the resource classes. What's the
> recommended approach to introduce such logging?
>
> Thanks!
>
> Jeremy
>