From 8802a30a7cfcbb73c8150d78ea9db1ede0520937 Mon Sep 17 00:00:00 2001 From: Sridhar Gaddam Date: Tue, 8 Aug 2023 18:04:28 +0530 Subject: [PATCH] Change the node_handler log to trace As the log from areNodesEquivalent is getting printed at regular intervals change it to trace. Signed-off-by: Sridhar Gaddam --- pkg/controllers/datastoresyncer/node_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controllers/datastoresyncer/node_handler.go b/pkg/controllers/datastoresyncer/node_handler.go index d7cdeb8cc..84e96b5fc 100644 --- a/pkg/controllers/datastoresyncer/node_handler.go +++ b/pkg/controllers/datastoresyncer/node_handler.go @@ -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", obj1.GetName(), existingGlobalIP, newGlobalIP) return existingGlobalIP == newGlobalIP