[
https://issues.apache.org/jira/browse/CXF-6536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729325#comment-14729325
]
Sergey Beryozkin commented on CXF-6536:
---------------------------------------
I've updated the code so that one can configure logging interceptors
individually, so instead of registering a feature register LoggingInInterceptor
and LoggingOutInterceptor (with pretty printing enabled).
Indeed it won;t help much if one XML contains extra spaces and one - not, but
it is a reasonable compromise.
> XML pretty printing produces double line spacing if incoming XML contains
> linefeeds
> -----------------------------------------------------------------------------------
>
> Key: CXF-6536
> URL: https://issues.apache.org/jira/browse/CXF-6536
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.7.17
> Reporter: Damon Horrell
> Priority: Trivial
>
> After upgrading from 2.7.6 to 2.7.17 I am seeing incoming XML written to my
> logs with an additional blank row between every row of text.
> The incoming XML (outside of my control) already contains line feed
> characters (ascii 10) after each line.
> I am using the LoggingFeature with prettyPrinting enabled. (I need this
> enabled because the outgoing XML doesn't contain any line breaks.)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)