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

Include channel name in validfrom logging

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Trivial
    • 3.0
    • 2.8.0
    • SyncGateway
    • Security Level: Public
    • None
    • 1

    Description

      Trivial, but at debug we log the following:

      [DBG] Cache+:  changesValidFrom (1) < c.validFrom < changesValidTo (123), setting c.validFrom from 123 -> 1
      

      base.Debugf(base.KeyCache, " changesValidFrom (%d) < c.validFrom < changesValidTo (%d), setting c.validFrom from %v -> %v",
      changesValidFrom, changesValidTo, c.validFrom, changesValidFrom)
      

      It's reasonably easy to figure out the channel in question from context, but having it logged in the line would make for easier grepping and reading in a heavily used SG.

      Attachments

        Activity

          People

            James Flather James Flather (Inactive)
            James Flather James Flather (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty