无论如何禁用grequests的日志记录到控制台?我的应用程序在请求部分返回错误:
Timeout: (<requests.packages.urllib3.connectionpool.HTTPConnectionPool object at 0x10daa1a50>, 'Connection to 116.231.213.50 timed out. (connect timeout=5)')
<Greenlet at 0x10d92bf50: <bound method AsyncRequest.send of <grequests.AsyncRequest object at 0x10da97990>>(stream=False)> failed with Timeout
我发现这会禁用请求的日志记录,但对 grequests 没有运气。