Skip to content

Logging is too verbose #178

Closed
Closed
@tylermenezes

Description

@tylermenezes

Right now all websocket messages are being sent at INFO level, and there's no way to change it for graphql-python (only globally). Useful information is often emitted at INFO level, but it becomes hard to read with all the websocket traffic. Especially when it fetches the initial schema (which in my case is large enough that it sometimes crashes my IDE).

It would be helpful if either:

  1. Websocket traffic is emitted at DEBUG (which seems reasonable to me, as they're only needed when debugging).
  2. Logging levels could be overriden just for this package.

I'm happy to make the pull request if you're open to one or the other option.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions