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

sgcollect should pick up stderr output on all platforms

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Component/s: SyncGateway
    • Security Level: Public
    • Labels:
      None
    • Sprint:
      CBG Sprint 34, CBG Sprint 35
    • Story Points:
      5

      Description

      On panics inside goroutines that don't have explicit recover/logging handling, output will only end up going to stderr. sgcollect retrieves this on some platforms (included in syslog.tar.gz as messages on macos), but doesn't appear to do so on centos7 or later.

      This appears to have better handling in cbcollect - need to review and port over to sgcollect as needed.

        Attachments

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

          Activity

          Hide
          build-team Couchbase Build Team added a comment -

          Build sync_gateway-2.7.0-141 contains sync_gateway commit 5767c11 with commit message:
          CBG-549: SGCollect collects stderr and stdout Linux (#4329)

          Show
          build-team Couchbase Build Team added a comment - Build sync_gateway-2.7.0-141 contains sync_gateway commit 5767c11 with commit message: CBG-549 : SGCollect collects stderr and stdout Linux (#4329)

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty