Skip to content
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

Change the node_handler log to trace #2644

Merged
merged 3 commits into from
Aug 14, 2023

Conversation

sridhargaddam
Copy link
Member

As the log from areNodesEquivalent is getting printed at regular intervals change it to trace.

As the log from areNodesEquivalent is getting printed at
regular intervals change it to trace.

Signed-off-by: Sridhar Gaddam <[email protected]>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr2644/sridhargaddam/modify-logging
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@@ -62,7 +62,7 @@ func (d *DatastoreSyncer) areNodesEquivalent(obj1, obj2 *unstructured.Unstructur
existingGlobalIP := obj1.GetAnnotations()[constants.SmGlobalIP]
newGlobalIP := obj2.GetAnnotations()[constants.SmGlobalIP]

logger.V(log.DEBUG).Infof("areNodesEquivalent called for %q, existingGlobalIP %q, newGlobalIP %q",
logger.V(log.TRACE).Infof("areNodesEquivalent called for %q, existingGlobalIP %q, newGlobalIP %q",
Copy link
Contributor

@tpantelis tpantelis Aug 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think think we need this log at all but TRACE is fine.

@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Aug 9, 2023
@sridhargaddam sridhargaddam enabled auto-merge (rebase) August 9, 2023 08:06
@tpantelis tpantelis merged commit 814f20a into submariner-io:devel Aug 14, 2023
35 of 37 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr2644/sridhargaddam/modify-logging]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-test When a PR is ready for full E2E testing
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants