Hi Allan,
there is no other way to log the exception at the moment. I've filed a
bug to our Jira to track the process on the issue ([1]).
[1]
https://java.net/jira/browse/JERSEY-2000
Michal
On 31.07.2013 15:42 , Allan wrote:
> Hi,
>
> I'm using Jersey 2.1 in Tomcat7 and I experienced MOXy throwing
> WebApplicationExceptions that trigger 500 errors to be returned to the
> client, but nothing appears in the error logs on the server side. I
> can work around this problem by registering a custom
> ApplicationEventListener that listens for exception request events and
> logs them out, but I was wondering if there was a better way.
>
> Thanks,
> Allan