Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-7047 Sync new Logging Interceptors with core Logging Interceptors
  3. CXF-7016

Update New Logging interceptors to control the logging of binary & multipart payloads

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.1.10, 3.2.0
    • logging
    • None
    • Unknown

    Description

      Hi Christian, here is the one:
      The core interceptors turn off the logging of binary data by default (if enabled this comes up as a sequence of unreadable characters)
      Proposal: at the very least the new interceptors should disable it by default too. The possible improvement would be, in case the binary logging is on, to correctly show the byte representations, ex, format then to hex, etc

      Also, the core interceptors do log Multiparts by default - in many cases (JAXWS, JAXRS) they can be readable but if a multipart is used to pass a binary blob then it also makes sense to let users disable it

      If you'd like I can do an initial sync and then you can improve further as you wish

      Attachments

        Activity

          People

            cschneider Christian Schneider
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: