2016-08-17 11:19 GMT+04:00 Christian Schneider <[email protected]>:
> You should also take a look at the new Logging support in: > https://github.com/apache/cxf/tree/master/rt/features/logging > > http://www.liquid-reality.de/display/liquid/2015/06/08/Enter > prise+ready+request+logging+with+CXF+3.1.0+and+elastic+search > > The new logging feature should also make it easier to customize the way to > output the message. > Christian, this is not related to my original question, but i noticed that in new logging feature I cannot configure to do only request logging? E.g. in original logging feature I can 1) configure <cxf:logging/> in cxf:bus and see all (request and response) logs 2) can configure individual interceptors, e.g. to log only requst <jaxrs:server <jaxrs:inInterceptors> <bean class="org.apache.cxf.interceptor.LoggingInInterceptor"/> However, in new logging feature I cannot reference org.apache.cxf.ext.logging.LoggingInInterceptor, becouse of Failed to instantiate [org.apache.cxf.ext.logging.LoggingInInterceptor]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.apache.cxf.ext.logging.LoggingInInterceptor.<init>() And also do not see how could I configure org.apache.cxf.ext.logging.LoggingFeature to do only request logging.
