[ 
https://issues.apache.org/jira/browse/CXF-7700?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrei Shakirin resolved CXF-7700.
----------------------------------
    Resolution: Fixed

> LoggingOutInterceptor doesn't write message body if encoding wasn't set
> -----------------------------------------------------------------------
>
>                 Key: CXF-7700
>                 URL: https://issues.apache.org/jira/browse/CXF-7700
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 3.1.15
>            Reporter: Andrei Shakirin
>            Assignee: Andrei Shakirin
>            Priority: Major
>             Fix For: 3.1.16, 3.2.5
>
>
> Fix for logging encoding made for 
> [CXF-7033|https://issues.apache.org/jira/browse/CXF-7033] introduced 
> following code into AbstractLoggingInterceptor:
> {code}
> StaxUtils.copy(new StreamSource(new InputStreamReader(in, encoding)), 
> xwriter);
> {code}
> The problem is that in case if encoding=null (it is often the case in 
> outbound chain), the InputStreamReader throws NLP preventing write message 
> body into the log file.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to