Skip to content

Conversation

@caldempsey
Copy link
Contributor

@caldempsey caldempsey commented Nov 2, 2025

Fixes #293 and provides some context where the message is coming from.

The OAuth2 M2M authenticator currently logs token fetch operations at the Info level in auth/oauth/m2m/m2m.go at line 60. When running applications with Info-level logging enabled, this generates log entries every time a token is fetched or refreshed, which pollutes application logs with operational noise. Its also messing with my Ginkgo tests in CI: onsi/ginkgo#1614 (comment). Libraries should generally avoid logging at Info level during normal operations unless there's actionable information for the application operator. I think this is a pretty standard practice.

gopalldb
gopalldb previously approved these changes Nov 25, 2025
@vikrantpuppala vikrantpuppala merged commit 00d41fe into databricks:main Dec 2, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change OAuth token fetch log from Info to Debug level

3 participants