Uploaded image for project: 'Couchbase Go SDK'
  1. Couchbase Go SDK
  2. GOCBC-323

Some log messages log the local address instead of remote address.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: library
    • Labels:
      None

      Description

      Some log messages are logging the local address instead of remote address of the server they are talking to.  I suspect a tracing change caused this (and maybe we should log both), but it makes it difficult to figure out whats going on from the logs.

      Example (note that the remote address is not 192.168.3.57):

      GOCB 15:04:28.929211 memdclient.go:77: Writing request. 192.168.3.57:65398 OP=0x1f. Opaque=1
      GOCB 15:04:28.929237 agentrouting.go:51: Fetching cluster client data
      GOCB 15:04:28.929301 memdclient.go:77: Writing request. 192.168.3.57:65397 OP=0x1f. Opaque=1
      GOCB 15:04:28.929822 agentrouting.go:51: Fetching cluster client data
      GOCB 15:04:28.929861 memdclient.go:77: Writing request. 192.168.3.57:65399 OP=0x1f. Opaque=1
      GOCB 15:04:28.929907 agentrouting.go:51: Fetching cluster client data
      GOCB 15:04:28.929935 memdclient.go:77: Writing request. 192.168.3.57:65400 OP=0x1f. Opaque=1
      GOCB 15:04:28.955459 memdclient.go:193: Resolving response OP=0x1f. Opaque=1

        Attachments

        For Gerrit Dashboard: GOCBC-323
        # Subject Branch Project Status CR V

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-6.5.0-1143 contains gocbcore commit 1fce22f with commit message:
          GOCBC-323: Add the remote address to the writing request log message

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1143 contains gocbcore commit 1fce22f with commit message: GOCBC-323 : Add the remote address to the writing request log message
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.5.1-3505 contains gocbcore commit 1fce22f with commit message:
          GOCBC-323: Add the remote address to the writing request log message

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.1-3505 contains gocbcore commit 1fce22f with commit message: GOCBC-323 : Add the remote address to the writing request log message
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-server-5.5.2-3704 contains gocbcore commit 1fce22f with commit message:
          GOCBC-323: Add the remote address to the writing request log message

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-server-5.5.2-3704 contains gocbcore commit 1fce22f with commit message: GOCBC-323 : Add the remote address to the writing request log message
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.6.0-2 contains gocbcore commit 1fce22f with commit message:
          GOCBC-323: Add the remote address to the writing request log message

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.6.0-2 contains gocbcore commit 1fce22f with commit message: GOCBC-323 : Add the remote address to the writing request log message
          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.5.1-8 contains gocbcore commit 1fce22f with commit message:
          GOCBC-323: Add the remote address to the writing request log message

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.5.1-8 contains gocbcore commit 1fce22f with commit message: GOCBC-323 : Add the remote address to the writing request log message

            People

            • Assignee:
              charles.dixon Charles Dixon
              Reporter:
              brett19 Brett Lawson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.