Uploaded image for project: 'Couchbase Gateway'
  1. Couchbase Gateway
  2. CBG-321

Improve sg-replicate logging integration

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Unresolved
    • None
    • 2.6.0
    • SyncGateway
    • Security Level: Public
    • None
    • CBG Sprint 20, CBG Sprint 21
    • 8

    Description

      Need to address two issues related to logging generated by sg-replicate:

      1. We don't have a way to enable debug logging via Sync Gateway's config.  At minimum we want the ability to call EnableSgReplicateLogging if the "Replicate" log key is enabled with log level debug or trace.
      2. Error/warn logging within sg-replicate isn't sent to Sync Gateway's logs. 

      The second issue may require enhancing sg-replicate to accept Sync Gateway's logging interface, instead of using clog.  Needs further analysis to identify the right approach.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          Build sync_gateway-2.6.0-38 contains sg-replicate commit d73786b with commit message:
          CBG-321: Create one logging function and external logger support (#63)

          build-team Couchbase Build Team added a comment - Build sync_gateway-2.6.0-38 contains sg-replicate commit d73786b with commit message: CBG-321 : Create one logging function and external logger support (#63)

          Build sync_gateway-2.6.0-38 contains sg-replicate commit d73786b with commit message:
          CBG-321: Create one logging function and external logger support (#63)

          build-team Couchbase Build Team added a comment - Build sync_gateway-2.6.0-38 contains sg-replicate commit d73786b with commit message: CBG-321 : Create one logging function and external logger support (#63)

          Build sync_gateway-2.6.0-38 contains sync_gateway commit 75950d1 with commit message:
          CBG-321: Added sg-replicate logging (#4094)

          build-team Couchbase Build Team added a comment - Build sync_gateway-2.6.0-38 contains sync_gateway commit 75950d1 with commit message: CBG-321 : Added sg-replicate logging (#4094)

          Build sync_gateway-2.6.0-38 contains sync_gateway commit 75950d1 with commit message:
          CBG-321: Added sg-replicate logging (#4094)

          build-team Couchbase Build Team added a comment - Build sync_gateway-2.6.0-38 contains sync_gateway commit 75950d1 with commit message: CBG-321 : Added sg-replicate logging (#4094)

          People

            jacques.rascagneres Jacques Rascagneres
            adamf Adam Fraser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty