Hello,

I've noticed that wink gives an ERROR-level message every time an exception
is forwarded to the container. However I think that for instance
AccessControlException are best handled by the container and that the
Jax-Rs spec mandates forwarding of the exceptions to the container for
exactly this reason. So I think the log level should be DEBUG for such a
message.

2012-12-02 18:27:20,388 [2092117006@qtp-2019707184-0] ERROR
[2092117006@qtp-2019707184-0] (RequestProcessor.java\:184) - An unhandled
exception occurred which will be propagated to the container.
java.security.AccessControlException: access denied
("java.lang.RuntimePermission" "accessDeclaredMembers")

Would anybody oppose to changing this?

Looking at where the exception is logged I find lines 171-186 of
RequestProcessor.java I see that the exception id logged on TRACE level if
TRACE is enabled and on ERROR level otherwise. What's the motivation for
this?

Cheers,
Reto

Reply via email to