Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-19857

nxrm3-maven-plugin when invoked using debug -X will log HTTP wire level traffic

    Details

    • Story Points:
      0
    • Notability:
      n/a

      Description

      Maven -X debug option is useful to examine HTTP traffic, in particular HTTP headers being sent and received by the nxrm3 maven plugin. This is logged by org.apache.http at DEBUG level.

      Argument -X also seems to also log org.apache.http.wire level logging. This is not desired, duplicates log statements for org.apache.http at DEBUG level and makes Maven debug logs extremely verbose and hard to parse as all binary content is dumped to the maven log.

      Expected

      When Maven execution is passed -X, all nxrm3-maven-plugin HTTP traffic:

      • SHOULD NOT log org.apache.http.wire logger DEBUG level and below log statements
      • should log org.apache.http logger DEBUG level and below statements

      This is how the nexus-staging-maven-plugin worked.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            plynch Peter Lynch
            Last Updated By:
            Peter Lynch Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Date of First Response:

                tigCommentSecurity.panel-title