-
-
Notifications
You must be signed in to change notification settings - Fork 70
Align logging with default convention #213
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
Conversation
81db9a7 to
e069a50
Compare
e069a50 to
4d3a87f
Compare
4d3a87f to
5c6bac4
Compare
| } | ||
|
|
||
| reqLogger.Info("reconciler done", "CR.Namespace", instance.Namespace, "CR.Name", instance.Name) | ||
| reqLogger.Info("Reconciling done") |
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.
I'm not sure this should be upper case
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.
I don't have a preference, I just aligned it with the log that mentions the starting of the reconcile.
https://github.com/movetokube/postgres-operator/blob/master/internal/controller/postgres_controller.go#L60
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.
Fair enough. I only commented because my IDE get's angry if I want to log something starting with an uppercase letter 😅
* feat: Helm-Chart Support External Secret Operator / feat: support for reload when secret changed * Update charts/ext-postgres-operator/values.yaml Co-authored-by: Pieter C <pieter@buca.be> * fix: values.yaml after code-review * fix: values.yaml after code-review :02 * fix: values.yaml after code-review :03 * fix: .Values.externalSecret * feat: Enable / Disable AWS IAM Authentication * fix: wrong ignore of cmd/ * fix: wrong ignore of cmd/ * Update internal/controller/postgresuser_controller.go Co-authored-by: Pieter C <pieter@buca.be> * Update internal/controller/postgresuser_controller.go Co-authored-by: Pieter C <pieter@buca.be> * feat: use already provided GrantRole and RevokeRole * feat: use already provided GrantRole and RevokeRole * Update internal/controller/postgresuser_controller.go Co-authored-by: Pieter C <pieter@buca.be> * feat: fmt internal/controller/postgresuser_controller.go * feat: change spec.aws: to include all future aws related settings --------- Co-authored-by: Pieter C <pieter@buca.be>
* Use stable go-version for tests * Fix to be able to build on v1.25
* Align logging with other convention
Minor chore, but we have now duplicate entries in the logging. I also noticed that the alignment is off when passing extra args, so this should also fix it.