We are logging the application SOAP requests to the interfaces using the logback.xml configuration file. The SOAP requests are itself generated with the framework Apache CXF.
The configuration is given below.
<logger name="org.apache.cxf.interceptor.LoggingInInterceptor" additivity="false">
<level value="INFO" />
<appender-ref ref="SOAPENVELOPLOGS" />
</logger>
The problem we are facing is when the SOAP request / response is of length more than 102410 characters, then the rest of text is not printed in the logs. Thus we have partial request / response being printed in the logs.
Would like to know is that this length limitation is in logback or Apache CXF.? And that is there any work around for the same?
Thanks
CXF. The LoggingInInterceptor has a property on it to control the limit size of what it logs. You would need to set the limit in there.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With