Vadim Guskov created CXF-6510:
---------------------------------
Summary: LoggingOutInterceptor: formatLoggingMessage method is not
used in every cases
Key: CXF-6510
URL: https://issues.apache.org/jira/browse/CXF-6510
Project: CXF
Issue Type: Bug
Components: Core
Affects Versions: 3.1.1
Reporter: Vadim Guskov
https://issues.apache.org/jira/browse/CXF-4392 issue has introduced special
method for logged message format.
All *log(logger, buffer.toString());* strings have been replaced by
*log(logger, formatLoggingMessage(buffer));*
But current version of *LoggingOutInterceptor.LogWriter.close()* contains
log(..) method call without format:
https://github.com/apache/cxf/blob/3dc89fe00c4e4165fc7b9c25ca0faec4ef097a87/core/src/main/java/org/apache/cxf/interceptor/LoggingOutInterceptor.java#L180
Therefore format of logged message is impossible for the Writer case.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)