-
Notifications
You must be signed in to change notification settings - Fork 51
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
Logging Cleanup - Part 5 #419
Conversation
…oute reconciler info logs, remove use of struct embedding in logs
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
# Conflicts: # controllers/route_controller.go # controllers/serviceexport_controller.go # controllers/serviceimport_controller.go # pkg/deploy/lattice/target_group_synthesizer.go # pkg/gateway/model_build_lattice_service.go # pkg/gateway/model_build_rule.go # pkg/gateway/model_build_targetgroup.go
Reran e2e tests after resolving merge conflicts
|
Pull Request Test Coverage Report for Build 6397658394
💛 - Coveralls |
@@ -94,7 +94,7 @@ func (t *svcExportTargetGroupModelBuildTask) run(ctx context.Context) error { | |||
|
|||
err = t.BuildTargets(ctx) | |||
if err != nil { | |||
t.log.Errorf("Failed to build targets for service export %s-%s due to %w", | |||
t.log.Debugf("Failed to build targets for service export %s-%s due to %s", |
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.
should be error log
@@ -86,7 +86,7 @@ func (t *latticeServiceModelBuildTask) buildModel(ctx context.Context) error { | |||
} | |||
|
|||
if err := t.buildTargetsForRoute(ctx); err != nil { | |||
t.log.Errorf("failed to build targets due to %s", err) | |||
t.log.Debugf("failed to build targets due to %s", err) |
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.
should be error log
What type of PR is this?
Cleanup
Which issue does this PR fix:
#126 (final)
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs from aws-gateway-controller showing the issue:
Testing done on this change:
Automation added to e2e:
Will this PR introduce any new dependencies?:
No
Will this break upgrades or downgrades. Has updating a running cluster been tested?:
No
Does this PR introduce any user-facing change?:
No, only logging changes
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.