-
Notifications
You must be signed in to change notification settings - Fork 101
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 to configure logging format #98
Conversation
Welcome @aramase! |
Hi @aramase. Thanks for your PR. I'm waiting for a kubernetes-csi member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
11c6be4
to
efda3c2
Compare
/kind feature |
/assign @msau42 |
Can you help to rebase this? |
efda3c2
to
a3db2c5
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: aramase 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 |
Done! |
/ok-to-test |
2b49fba
to
90e1657
Compare
83b2e91
to
d7acdff
Compare
@verult If we want to include this in the next release, I can dust off the PR again. There has been some conversation on how to approach this: kubernetes-csi/node-driver-registrar#129. |
I believe @pohly was starting to look into structured logging for the csi sidecars. |
@aramase @msau42 @pohly my understanding from kubernetes-csi/node-driver-registrar#129 is that even with structured logging, we still need to add json logging separately. Does json logging depend on the structured logging work? Do you think either structured logging or json logging would be able to land for this current sidecar release cycle? |
We should start an issue about structured logging where discuss all related aspects (configuration, log calls, how to pass a logger). This isn't specific to a certain sidecar. @msau42: would that be worth a separate project under https://github.com/orgs/kubernetes-csi/projects? |
Yeah that sounds good to me! Agree that we want to be consistent across sidecars and also consistent with the Kubernetes effort. |
Ack, since this requires a wider effort we'll leave it out of this release. Thanks all! |
I created https://github.com/orgs/kubernetes-csi/projects/46. Let's discuss in one of the upcoming CSI standup meetings. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
@aramase could you please fix the PR? |
/hold Let's not merge this without aligning on a common direction for all sidecars first. See https://github.com/orgs/kubernetes-csi/projects/46 for a list of TODOs. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
This is still an issue |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
@aramase could you please take a look? |
@pierluigilenoci I will let the maintainers of the node-driver-registrar and liveness probe decide how they want to proceed with supporting json log formatting. I don't have the time currently for rebasing the 2 PRs, so I'm going to close them and let someone else pick up the issue if there is interest in supporting the json log format. /close |
@aramase: 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. |
What type of PR is this?
/kind feature
What this PR does / why we need it:
Adds configuration for json log formatter
Which issue(s) this PR fixes:
Fixes #97
Special notes for your reviewer:
Does this PR introduce a user-facing change?: