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

LoggingOutInterceptor: formatLoggingMessage method is not used in every case

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.1.1
    • 3.0.10, 3.1.7, 3.2.0
    • Core
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: