-
Notifications
You must be signed in to change notification settings - Fork 72
Move irrelevant logs to TRACE level #1035
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,7 +62,7 @@ func (d *Deployment) inspectDeployment(lastInterval util.Interval) util.Interval | |
| ctxReconciliation, cancelReconciliation := globals.GetGlobalTimeouts().Reconciliation().WithTimeout(context.Background()) | ||
| defer cancelReconciliation() | ||
| defer func() { | ||
| d.log.Info("Inspect loop took %s", time.Since(start)) | ||
| d.log.Trace("Inspect loop took %s", time.Since(start)) | ||
| }() | ||
|
|
||
| nextInterval := lastInterval | ||
|
|
@@ -152,7 +152,7 @@ func (d *Deployment) inspectDeploymentWithError(ctx context.Context, lastInterva | |
| t := time.Now() | ||
|
|
||
| defer func() { | ||
| d.log.Info("Reconciliation loop took %s", time.Since(t)) | ||
| d.log.Trace("Reconciliation loop took %s", time.Since(t)) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. maybe we should have here INFO or WARNING when time.Since(t) is higher than some value (e.g. 5 seconds). |
||
| }() | ||
|
|
||
| // Ensure that spec and status checksum are same | ||
|
|
||
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 same here as below comment