Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-6510

LoggingOutInterceptor: formatLoggingMessage method is not used in every case

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.1
    • Fix Version/s: 3.0.10, 3.1.7, 3.2.0
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              Vadim Guskov Vadim Guskov
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: