Skip to content

Add debug mode that displays more information for tracking down problems #8

@machristie

Description

@machristie

I've been using the following to get more HTTP logging:

from http.client import HTTPConnection
HTTPConnection.debuglevel = 1

import logging
# you need to initialize logging, otherwise you will not see anything from
# requests
logging.basicConfig()
logging.getLogger().setLevel(logging.DEBUG)
requests_log = logging.getLogger("urllib3")
requests_log.setLevel(logging.DEBUG)
requests_log.propagate = True

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions