Skip to content

Bring back TRACE logs #58

Closed
Closed

Description

@florimondmanca

I notice the logger.trace() calls we had previously in HTTPX are not present in this package anymore.

I suppose this was done out of simplicity, but I think we should bring them back. They were super useful to debug networking issues, connection management issues, etc.

So here's an issue for trackig purposes. :-)

Activity

  1. lovelydinosaur commented on Apr 13, 2020

    @lovelydinosaur
    Member

    Yeah that's my fault,

    I think it was while I was trying to do a bit of refactoring of the HTTP/2 and pulling everything across to httpcore. Is it clear what environment variable naming we ought to be using given that we've got a proper httpx/httpcore split now?

  2. florimondmanca commented on Apr 13, 2020

    @florimondmanca
    ContributorAuthor

    For env vars we could have an HTTPCORE_LOG_LEVEL, and make HTTPX set that when HTTPX_LOG_LEVEL is set too.

  3. lovelydinosaur commented on Apr 13, 2020

    @lovelydinosaur
    Member

    Sounds reasonable yeah

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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