Closed dylanmorroll closed 9 months ago
Nevermind I realised what has happened, I just presumed cause in the wiki it only mentions requests and websockets for logging that all http related stuff was in requests.
I changed my logging line to:
from gql.transport.aiohttp import log as gql_aiohttp_logger
and now the error has gone and my logging setting is working
Describe the bug When changing the logging level by using the following import line:
from gql.transport.requests import log as gql_logger
The following error is raised:
To Reproduce Install
gql
, importgql.transport.requests.log
and run.Expected behavior An error is fine, but checking the wiki, there is no mention of it as an optional dependency.
I would expect the wiki should detail it as an optional dependency, also on the logging page where the information is given.
If possible it would be also nice if the error message of the raised error included this information.
System info (please complete the following information):