The best bet is to change to using the @Logging annotation we have instead of the @InInterceptors/@OutInterceptors. The @Logging annotation allows specifying file URL's for the output.
http://cxf.apache.org/javadoc/latest/org/apache/cxf/annotations/Logging.html Dan On Wednesday, December 28, 2011 7:17:15 AM chimaira wrote: > Hi all > > I m logging my soap in/out xml using the annotations > @InInterceptors(interceptors = > "org.apache.cxf.interceptor.LoggingInInterceptor") > @OutInterceptors(interceptors = > "org.apache.cxf.interceptor.LoggingOutInterceptor") > > That works great. requests and response are logged in my application server > log . > > Now I wish to save theme in a specific file . How can I do such a > configuration? at its simplest way. (avoiding xml config) > > I was on the CXF apache officiel website but I did not find any exemple or > documentation that deal with that. > An other anotation > @Features(features = "com.francetelecom.tsi.webServices.AnnotationFeature") > but do not know how to configure > > > Thanks in advance. > > > MA > > -- > View this message in context: > http://cxf.547215.n5.nabble.com/specify-the-output-file-for-CXF-logging-tp5 > 105452p5105452.html Sent from the cxf-user mailing list archive at > Nabble.com. -- Daniel Kulp [email protected] - http://dankulp.com/blog Talend Community Coder - http://coders.talend.com
