-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Add support for json logging format #6035
Add support for json logging format #6035
Conversation
Welcome @madufresneelastic! |
|
/retest |
@madufresneelastic: Cannot trigger testing until a trusted user reviews the PR and leaves an 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. |
/assign towca |
Can you add some documetation/FAQ entry as well? |
I added an FAQ entry, is this enough or there should be additional documentation somewhere else? |
Please squash the commits to 1 (currently there is 11) and we are good to go. |
3631437
to
060d29d
Compare
060d29d
to
55c92e1
Compare
@mwielgus as discussed, commits are squashed. I just pushed another one (still squashed). I had missed that imports were not sorted properly, this is now fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: madufresneelastic, mwielgus The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
…g-support Add support for json logging format (cherry picked from commit 574c534)
Backport #6035 feat: json logging support into 1.28
Backport #6035 feat: json logging support into 1.27
Backport #6035 feat: json logging support into 1.25
Backport #6035 feat: json logging support into 1.26
I picked this single commit to get json logging since it's not yet released and it broke
works before, breaks after 😞 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Add support for structured logging with
--logging-format
that is already supported by many kubernetes components.Which issue(s) this PR fixes:
Fixes #
#5898
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: