[Jersey] Re: Missing MOXy Log Messages In Tomcat

From: Michal Gajdos <>
Date: Fri, 02 Aug 2013 19:27:13 +0200

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]).



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