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

org.apache.cxf.interceptor.LoggingMessage doesn't have getId() property

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.0-milestone1
    • Fix Version/s: 3.0
    • Component/s: Core
    • Labels:
      None
    • Estimated Complexity:
      Novice

      Description

      I was looking to create a subclass of org.apache.cxf.interceptor.LoggingInInterceptor that doesn't add line breaks to the log event. It seems like the class is designed such that folks wishing to do things like this should just override the LoggingInInterceptor.formatLoggingMessage(LoggingMessage) method and build their log event text however they wish. Unfortunately, any custom version of this method isn't able to include the LoggingMessage.id field (like the default implementation does), as this field doesn't have a getter.

        Attachments

          Activity

            People

            • Assignee:
              sergey_beryozkin Sergey Beryozkin
              Reporter:
              karlmdavis Karl M. Davis

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment