-
Notifications
You must be signed in to change notification settings - Fork 85
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
Refactor logging #1755
Refactor logging #1755
Conversation
✅ Deploy Preview for kubernetes-sigs-cluster-api-ibmcloud ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
8b7b720
to
7dc0f41
Compare
/cc @Karthik-K-N |
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.
This is one of the much needed PR, Thanks for submitting this.
/lgtm
/hold |
/remove-approve |
@Karthik-K-N @Prajyot-Parab , what are your thoughts on changing the log level to 3 by default? |
If we go as per capi standards the logs are not for users its for sre/developers https://cluster-api.sigs.k8s.io/developer/logging#logging. So we can update the doc in developer section of the book about setting v level to higher one if the user is interested in debugging things. Meanwhile we should spend some time in adding more events and condition with user perspective in mind. |
Thank you for the input @Karthik-K-N, will refactor the logs accordingly. |
@Amulyam24 errors appended during reconcileDelete are not printed in controller log, there is no way to know it as well, please see whether we can add a log message here |
@Amulyam24 can you please resolve the conflicts and update the PR? |
eaed366
to
bf3ad89
Compare
/unhold |
PR is ready for review, PTAL @mkumatag @Karthik-K-N |
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
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
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Amulyam24, mkumatag 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 |
What this PR does / why we need it:
This PR adds
failed to
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 #1720
Special notes for your reviewer:
/area provider/ibmcloud
Release note: