Github user alex-korobko commented on the issue:
https://github.com/apache/cxf/pull/294
The method logInputStream of the LoggingInInterceptor class passes
text/plain content type to the writePayload method if the payload content was
truncated. It should avoid issues that happen in the writePayload method of the
class AbstractLoggingInterceptor when the payload stream contains truncated
data (and therefore invalid xml) and content type is set to text/xml. In that
case the PrettyXmlStreamWriter fails to output the payload stream.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---