-
Notifications
You must be signed in to change notification settings - Fork 190
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
helm chart: add log and accountid #69
Conversation
templates/helm/values.yaml.tpl
Outdated
# log level for the controller | ||
log: | ||
enable_development_logging: true | ||
log_level: info |
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.
DEBUG
did not work, hence I kept it as info
and not INFO
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.
The ./kind-build-test.sh
script has this set to debug
, but I don't think that's appropriate for production use anyway. I think this is good.
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.
Actually, I am inclined to keep default as debug because info logs are very less and hard to relate with state of resource. I think even the delta is not printed in info. Let's see what others have to say.
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.
Actually, I am inclined to keep default as debug because info logs are very less and hard to relate with state of resource. I think even the delta is not printed in info. Let's see what others have to say.
Delta is shown in Info, actually: https://github.com/aws-controllers-k8s/runtime/blob/main/pkg/runtime/reconciler.go#L251
I would prefer to use info level for default.
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.
@surajkota is correct. We are logging the diff/delta using V(1) (debug) not info...
That said, I would prefer to merge this with info as the default log level and address specific log messages (and moving some to info vs debug, etc) in a separate PR.
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.
Makes sense, I can create a separate issue/pr for that
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: RedbackThomson, surajkota 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 |
@RedbackThomson PTAL at my comments on aws-controllers-k8s/test-infra#27 /hold |
/unhold |
/lgtm |
Issue #, if available: aws-controllers-k8s/community#787
Tested using sagemaker-controller
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.