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

Node.js SDK logs are output to stderr, not stdout

    XMLWordPrintable

Details

    Description

      $ DEBUG=couchnode* node server.js > server.log
      # terminal fills with couchnode logs
      $ wc -l server.log
      0 server.log
      $ DEBUG=couchnode* node server.js > server.log 2>&1
      # terminal empty
      $ wc -l server.log
      177 server.log
      

      Reporter: Marks Polakovs
      E-mail: marks.polakovs@couchbase.com

      Attachments

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

        Activity

          People

            hakim.cassimally Hakim Cassimally
            marks.polakovs Marks Polakovs (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty