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

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0.0-milestone1
    • 3.0
    • Core
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sergey_beryozkin Sergey Beryozkin
            karlmdavis Karl M. Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment