Transaction logging - cannot modify the truncation size of the payload
Using an older version of Connect (4.2.1).
I'm trying to increase the truncation size of the web services transaction logging, but I cannot get it to change.
Has anyone done this successfully?
FINE: Invoking handleMessage on interceptor org.apache.cxf.interceptor.LoggingInInterceptor@172a1780
Mar 31, 2017 4:13:26 PM org.apache.cxf.services.RespondingGatewayRetrievePortTypeService.RespondingGateway_Retrieve_PortTypePort.RespondingGateway_Retrieve_PortType
INFO: Inbound Message
Message (saved to tmp file):
(message truncated to 65536 bytes)
It is truncating to 64K (64*1024).
I set a Java property named "org.apache.cxf.io.CachedOutputStream.Threshold" to a higher value (for the org.apache.cxf.io.CachedOutputStream class). This did not take, as I believe an interceptor is setting the value at a higher level.
Apache CXF debug logging indicates the following interceptors:
There is probably some way to configure the LoggingInInterceptor - under WEB-INF\classes, there are webservices.xml files for PD, QD and RD. However, the only interceptor that is registered for retrieve documents is:
<jaxws:inInterceptors> <ref bean="securityConfigInInterceptor" /> </jaxws:inInterceptors>
Any suggestions? Does anyone know how the interceptors are configured/registered? It does not look like I am finding all configuration settings, as there are many more interceptors according to the logging above.