Hi all,

I noticed that for exceptions such as BadRequestException, the
WebApplicationExceptionMapper nicely translate it into reponse but also
logs the entire track with warn level.

I think that Mapper is automatically added as a provider (I am using jaxrs
2.7.8 and  Oauth 2 module).

I can see that the exception mapper actually has a flag
called printStackTrace.

But it seems the mapper got added by the ProviderFactory as the default.

So my question is, how do I get a reference to that mapper and call the
setter to mute the stack trace?

Cheers,
Jason

Reply via email to