Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-3663

Document new Node.js logging integration

    XMLWordPrintable

Details

    Description

      The new Node.js SDK logging integration allows you to bind the libcouchbase logging to a Node.js logger (or use the default winston logging to console/file).  This is done through something such as:

      couchbase.logging.enableLogging({level: 'info', colorize: 'all'});
      

      Attachments

        Issue Links

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

          Activity

            brett19 Brett Lawson created issue -
            brett19 Brett Lawson made changes -
            Field Original Value New Value
            Status New [ 10003 ] Open [ 1 ]
            brett19 Brett Lawson made changes -
            Issue Type Bug [ 1 ] Improvement [ 4 ]
            brett19 Brett Lawson made changes -
            Issue Type Improvement [ 4 ] Task [ 3 ]
            brett19 Brett Lawson made changes -
            Summary Document new logging integration Document new Node.js logging integration
            brett19 Brett Lawson made changes -
            Component/s sdk [ 14110 ]
            Component/s docs [ 10251 ]
            Fix Version/s 2.5.0 [ 15125 ]
            Key JSCBC-478 DOC-3663
            Workflow Couchbase SDK Workflow [ 105330 ] Original DOC Workflow [ 105379 ]
            Project Couchbase node.js Client Library [ 10110 ] Couchbase Documentation [ 11153 ]
            brett19 Brett Lawson made changes -
            Description The new Node.js SDK logging integration allows you to bind the libcouchbase logging to a Node.js logger (or use the default winston logging to console/file).  This is done through something such as:
            {code:java}
            couchbase.logging.enableLogging({level: 'info', colorize: 'all'});
            {code}
            brett19 Brett Lawson made changes -
            Assignee Brett Lawson [ brett19 ] Richard Smedley [ richard smedley ]
            richard.smedley Richard Smedley made changes -
            Epic Link DOC-3630 [ 84926 ]
            richard.smedley Richard Smedley made changes -
            Component/s server dev guide and SDKs [ 11814 ]
            Fix Version/s Alice [ 15118 ]
            Fix Version/s vulcan [ 15161 ]
            Page URL https://developer.couchbase.com/documentation/server/5.5/sdk/nodejs/client-settings.html
            richard.smedley Richard Smedley made changes -
            Fix Version/s Mad-Hatter [ 15119 ]
            Fix Version/s Alice [ 15118 ]
            Fix Version/s vulcan [ 15161 ]
            richard.smedley Richard Smedley made changes -
            Fix Version/s tech-debt [ 12416 ]
            Fix Version/s Mad Hatter [ 15119 ]
            richard.smedley Richard Smedley made changes -
            Labels error-handling
            brett19 Brett Lawson made changes -
            Story Points 1
            richard.smedley Richard Smedley made changes -
            Epic Link DOC-3630 [ 84926 ] DOC-9737 [ 184179 ]
            richard.smedley Richard Smedley made changes -
            Link This issue is blocked by DOC-1727 [ DOC-1727 ]

            People

              richard.smedley Richard Smedley
              brett19 Brett Lawson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty