I'm using Wildfly 10 and JAX-RS (resteasy) and have a Bean being injected in another Bean:
@Path("foo")
public class FooResource {
@Inject
BarBean bar;
...
}
Then I'm calling a method on bar
that throws a RuntimeException. I'm handling this Exception in FooResource
, but Wildfly has interceptors that print the stack trace to the log. I don't want this to happen. Is there any way to disable this behavior?