On Mar 30, 2010, at 11:18 PM, Michael Mogley wrote:
> Is there a way I can prevent Jersey from logging business-level
> exceptions? For example, I have several cases where I’m using an
> ExceptionMapper to throw a NotFoundException when a POST operation
> attempts to pull a nonexistent persistent entity as part of its
> internal logic. I do not want to see the stack trace for this
> exception. Is there a way to configure Jersey to only log stack for
> non-business-level exceptions?
>
What version of Jersey are you using?
The latest version of Jersey should not be logging such stack traces.
Paul.