如何提高pythongmailapi的日志记录级别?

2024-10-05 13:07:43 发布

您现在位置:Python中文网/ 问答频道 /正文

我将文件中的日志级别设置为ERROR,如本指南中所建议的:https://developers.google.com/api-client-library/python/guide/logging

不过,我还是得到了表格的记录:

02:19:11 queue.1 | 02:19:11 URL being requested: GET https://www.googleapis.com/discovery/v1/apis/gmail/v1/rest
02:19:33 queue.1 | 02:19:33 Refreshing due to a 401
02:19:33 queue.1 | 02:19:33 Refreshing access_token

如何防止这些干扰服务?你知道吗


Tags: 文件httpscomclientapigooglelibrary指南

热门问题