Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-31

python SDK disables all logging

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.7
    • 1.0.0
    • library
    • Security Level: Public
    • None

    Description

      took a few hours to find why logging in my python app stopped working, and it's because I started using the couchbase python SDK which strangely disables logging...

      logging.disable(logging.ERROR)

      here...

      https://github.com/couchbase/couchbase-python-client/blob/master/couchbase/client.py#L33

      the temporary workaround in my app was to call...

      logging.disable(logging.NOTSET)

      but, that's just a hack workaround against a socially awkward (read: rude) implementation.

      Attachments

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

        Activity

          People

            BigBlueHat Benjamin Young
            steve Steve Yen
            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