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

change logging pattern layout to include the full thread name by default

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.5
    • Component/s: UI
    • Labels:
      None
    • Release Note:
      Yes

      Description

      In some cases the 'thread id' is bound to the request url being made. This makes it impossible to distinguish between two threads for the same content.

      Example for a request to a timestamped snapshot jar ending with '9.061049-18.jar':

      2013-05-01 14:15:25 DEBUG [9.061049-18.jar] - org.eclipse.jetty.io.nio.ChannelEndPoint - java.net.SocketException: Transport endpoint is not connected
      2013-05-01 14:15:25 DEBUG [9.061049-18.jar] - org.eclipse.jetty.io.nio.ssl - [Session-1, SSL_NULL_WITH_NULL_NULL] SslConnection@17b8415 SSL NEED_WRAP i/o/u=0/0/0 ishut=false oshut=false {AsyncHttpConnection@1c9500,g=HttpGenerator{s=2,h=0,b=0,c=-1},p=HttpParser{s=-5,l=34,c=0},r=2} NEED_WRAP filled=-1/0 flushed=0/0
      2013-05-01 14:15:25 DEBUG [9.061049-18.jar] - org.eclipse.jetty.io.nio.ssl - [Session-1, SSL_NULL_WITH_NULL_NULL] wrap CLOSED NOT_HANDSHAKING consumed=0 produced=29
      2013-05-01 14:15:25 DEBUG [9.061049-18.jar] - org.eclipse.jetty.io.nio.ssl - wrap CLOSE SslConnection@17b8415 SSL NOT_HANDSHAKING i/o/u=0/29/0 ishut=false oshut=false {AsyncHttpConnection@1c9500,g=HttpGenerator{s=2,h=0,b=0,c=-1},p=HttpParser{s=-5,l=34,c=0},r=2} Status = CLOSED HandshakeStatus = NOT_HANDSHAKING
      bytesConsumed = 0 bytesProduced = 29
      

      There is no way to tell how many threads are active here, since the thread id includes only the tail end of the request url.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cstamas Tamás Cservenák
                Reporter:
                plynch Peter Lynch
                Last Updated By:
                Rich Seddon
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

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