如何提高python gmail api的日志记录级别?

时间:2015-01-24 10:21:41

标签: python logging gmail-api

我按照本指南的建议将文件中的日志级别设置为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

如何防止这些服务混乱?

0 个答案:

没有答案