Skip to content

Conversation

@cbandy
Copy link
Member

@cbandy cbandy commented Aug 20, 2025

Checklist:

  • Have you added an explanation of what your changes do and why you'd like them to be included?
  • Have you updated or added documentation for the change, as applicable?
  • Have you tested your changes on all related environments with successful results, as applicable?
    • Have you added automated tests?

Type of Changes:

  • New feature

What is the current behavior (link to any open issues here)?

Warnings about Endpoints deprecation are logged at the info level.

What is the new behavior (if this is a feature change)?

Warnings about Endpoints deprecation are logged at the debug level when CRUNCHY_DEBUG=2 or higher.

Other Information:

@cbandy cbandy requested a review from andrewlecuyer August 20, 2025 12:26
Copy link
Contributor

@benjaminjb benjaminjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like complaining about go mod

cbandy added 4 commits August 20, 2025 10:25
The former is identical and the latter uses generics to return a single
value.
Since v0.19.0, controller-runtime has configured its REST clients to log
API warnings at the INFO level.

This changes the CRUNCHY_DEBUG environment variable to accept an integer
that increases the verbosity of logs. API warnings are logged when
verbosity is 2 or higher.
The "-diff" flag was added in Go 1.23 and does the right thing in a
single command.
@cbandy cbandy merged commit b86f239 into CrunchyData:main Aug 20, 2025
17 checks passed
@cbandy cbandy deleted the rest-logging branch August 20, 2025 16:40
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.

2 participants