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

Improve sg-replicate logging integration

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 2.6.0
    • None
    • 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

          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