cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-6510) LoggingOutInterceptor: formatLoggingMessage method is not used in every case
Date Mon, 16 May 2016 09:14:13 GMT

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

Sergey Beryozkin resolved CXF-6510.
-----------------------------------
       Resolution: Fixed
         Assignee: Sergey Beryozkin
    Fix Version/s: 3.2.0
                   3.1.7
                   3.0.10

Patch from CodeSmell (Mike) applied

> 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
>            Assignee: Sergey Beryozkin
>             Fix For: 3.0.10, 3.1.7, 3.2.0
>
>
> 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)

Mime
View raw message