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

DEBUG level logging should print HTTP response code Nexus is sending

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.1
    • Fix Version/s: 3.1.0
    • Component/s: Logging
    • Labels:
    • Story Points:
      0.5
    • Sprint:
      Sprint 78

      Description

      Nexus 3 has a debug log message indicating that it is sending a response, but it does not show what the response is:

      2016-09-15 09:27:48,345-0500 DEBUG [qtp2022203553-1078] admin org.sonatype.nexus.repository.httpbridge.internal.ViewServlet - HTTP response sender: org.sonatype.nexus.repository.httpbridge.DefaultHttpResponseSender@1226dad5
      

      You need to enable TRACE logging to see it:

      2016-09-15 09:27:48,345-0500 TRACE [qtp2022203553-1078] admin org.sonatype.nexus.repository.httpbridge.DefaultHttpResponseSender - Sending response: Response{status=Status{successful=true, code=201, message='null'}, payload=null}
      

      Please just put the above at DEBUG, it's a PITA to have customers enable trace logging of any kind, because the noise makes it very difficult to go through logs.

        Attachments

          Activity

            People

            • Assignee:
              jtom Joe Tom
              Reporter:
              rseddon Rich Seddon
              Last Updated By:
              Peter Lynch
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: