thanks I'm sorry for the easy question! luke
Il giorno ven 7 giu 2019 alle ore 16:05 Francesco Chicchiriccò < ilgro...@apache.org> ha scritto: > On 07/06/19 15:57, Luca Maderna wrote: > > Hi, > > > > In my cxf client I use LoggingInterceptor in this way: > > > > JaxWsProxyFactoryBean factory = new JaxWsProxyFactoryBean(); > > ... > > LoggingInInterceptor loggingInInterceptor = new LoggingInInterceptor(); > > loggingInInterceptor.setPrettyLogging(true); > > > > LoggingOutInterceptor loggingOutInterceptor = new > LoggingOutInterceptor(); > > loggingOutInterceptor.setPrettyLogging(true); > > > > factory.getInInterceptors().add(loggingInInterceptor); > > factory.getOutInterceptors().add(new LoggingOutInterceptor()); > > > > ... > > > > cause LoggingInInterceptor and LoggingOutInterceptor are deprecated I > > have to find another way. > > > > Any idea? > > Hi, > please note that > > org.apache.cxf.interceptor.LoggingInInterceptor > > is deprecated but you should use > > org.apache.cxf.ext.logging.LoggingInInterceptor > > Same for LoggingOutInterceptor. > > HTH > Regards. > > -- > Francesco Chicchiriccò > > Tirasa - Open Source Excellence > http://www.tirasa.net/ > > Member at The Apache Software Foundation > Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail > http://home.apache.org/~ilgrosso/ > >