IIRC such exceptions should already be present in the server's (e.g.,
Tomcat or Weblogic, etc.) log files. There's fault handlers in both
JAX-WS handlers and CXF interceptors in which you can log whatever
additional data needed that should show up in the server logs as a
result (http://www.jroller.com/gmazza/entry/jaxws_handler_tutorial,
http://www.jroller.com/gmazza/entry/jaxwshandlers_to_cxfinterceptors).
I would look in the CXF source code (find . -name "*Interceptor.java")
for examples which log error messages.
Glen
On 02/15/2012 03:27 AM, Guy Pardon wrote:
Hi cxf,
If my service throws a generic WebServiceException: what is the best approach
for logging / monitoring this on the server-side?
With a handler? Are there any samples?
Thanks
Guy
--
Glen Mazza
Talend Community Coders - coders.talend.com
blog: www.jroller.com/gmazza