Apache CXF Logging
===

I have some problems with my server-client communication via web services with Apache CXF framework. I want to log the server errors to an external file instead of terminal. Piece of code for server;

   server= new JaxwsNotificationBroker("Hello",..);
   server.setAddress("http://localhost:" + brokerPort + "/wsn/NotificationBroker");

And I tried this for logging;

   server.getInInterceptors().add(new LoggingInInterceptor());
   server.getOutInterceptors().add(new LoggingOutInterceptor());

But it gives the error "The method getInInterceptors() is undefined for the type JaxwsNotificationBroker". Is there any method to log the errors for JaxwsNotificationBroker?

Thank you