Don't keep DEBUG level logging from requests_oauthlib
Compare changes
requests_oauthlib debug-level logging puts the authorisation token (short-lived) into logs, which isn't ideal. It also adds several lines of logging on every requests to myMdC, contributing to logs which can reach hundreds of MB. This cuts out debugging log messages specifically from requests_oauthlib
.
Deployed on max-exfl-cal002, launched a calibration from test myMdC, checked both log files (web.log
& monitor.log
) to see that these log messages don't show up.