You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Vadim Guskov (JIRA)" <ji...@apache.org> on 2015/07/27 13:29:05 UTC
[jira] [Updated] (CXF-6510) LoggingOutInterceptor:
formatLoggingMessage method is not used in every case
[ https://issues.apache.org/jira/browse/CXF-6510?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vadim Guskov updated CXF-6510:
------------------------------
Summary: LoggingOutInterceptor: formatLoggingMessage method is not used in every case (was: LoggingOutInterceptor: formatLoggingMessage method is not used in every cases)
> LoggingOutInterceptor: formatLoggingMessage method is not used in every case
> ----------------------------------------------------------------------------
>
> 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)