Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-1106

libcouchbase log is too verbose at INFO level

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 2.10.5
    • None
    • library
    • None
    • 1

    Description

      libcouchbase logging at INFO level is too verbose.

      For a simple N1QL query in Function with 10k mutations -

      function OnUpdate(doc, meta) {
          let id = meta.id;
          UPSERT INTO destination (KEY, VALUE) VALUES ($id, $doc);
      } 

      We're getting about 20k lines -

      gautham@DESKTOP-AQ941CH:/mnt/c/Users/Gautham/projects/github/couchbase/mad-hatter/ns_server/logs/n_0$ ag "\[lcb," eventing.log | wc -l      
      20036 

      Please reduce the verbosity at INFO level for the libcouchbase SDK.

      Attachments

        1. eventing.log
          4.83 MB
          Gautham Banasandra

        Issue Links

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

          Activity

            People

              avsej Sergey Avseyev
              Gautham.Banasandra Gautham Banasandra (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty