Hi You'll need to register CXF LoggingInInterceptor and LoggingOutInterceptor using
jaxrs.inInterceptors and jaxrs.outInterceptors servlets parameters cheers, Sergey On Thu, Jun 3, 2010 at 11:06 AM, Loh Kok Jeng <[email protected]> wrote: > Hi, > > I'm implementing a REST server using CXFNonSpringJaxrsServlet. Below > is a snippet of my REST server. > > Question: how can I log inbound and outbound message for this REST server? > > public class RestApp extends Application { > > @Override > public Set<Class<?>> getClasses() { > // TODO Auto-generated method stub > Set<Class<?>> set = new HashSet<Class<?>>(); > > set.add(SomeServiceJaxRS.class); > } > } > > > regards, > Loh Kok Jeng >
