-
Notifications
You must be signed in to change notification settings - Fork 214
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for external setting of log verbosity through the klog. Addresses issue #336 #340
Conversation
API. Signed-off by: Kendall Tauser <kttpsy@gmail.com>
|
Welcome @fire833! |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: fire833 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Why just one value and not one API for every single option that klog has? I'm just asking a leading question to show how this is a slippery slope that can easily lead a) to a much larger effort and b) much larger API. |
/close Let's use the approach outlined in #336 (comment) instead. PRs welcome... |
@pohly: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
This PR proposes API changes to allow external configuration of specifically logging verbosity outside of simply using flags.
This addresses #336 .
I managed to implement this in a few minutes and figured I would open a PR for the sake of openness. Let me know if there is still apprehension on making an API change like this one.
Signed-off by: Kendall Tauser kttpsy@gmail.com
What this PR does / why we need it:
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.
Release note: