Filter verbose oauth2client log messages
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
"Attempting refresh to obtain initial access_token" (https://github.com/googleapis/oauth2client/blob/50d20532a748f18e53f7d24ccbe6647132c979a9/oauth2client/transport.py#L157) is a verbose log message that confuse users.
oauth2client is deprecated and owners are not planning to fix this. We can mask it with a log filter (https://docs.python.org/2/library/logging.html#filter-objects) here (https://github.com/apache/beam/blob/a1cb61ab63acff2c3d93f166d59f4789d45ecc11/sdks/python/apache_beam/runners/worker/logger.py#L178)
Imported from Jira [BEAM-7353](https://issues.apache.org/jira/browse/BEAM-7353). Original Jira may contain additional context.
Reported by: altay.
Contributor guide
Assessment
This issue has not been assessed yet.