From a85f72fccd24b94103b9fcc8080101b706253f7f Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 6 Feb 2026 14:30:04 +0100 Subject: [PATCH] Change log level to debug for nodestate API endpoint --- internal/api/node.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/api/node.go b/internal/api/node.go index 930deb50..27cde7f0 100644 --- a/internal/api/node.go +++ b/internal/api/node.go @@ -100,8 +100,8 @@ func (api *RestAPI) updateNodeStates(rw http.ResponseWriter, r *http.Request) { } } - cclog.Infof("Timer updateNodeStates, MemStore HealthCheck: %s", time.Since(startMs)) - startDb := time.Now() + cclog.Debugf("Timer updateNodeStates, MemStore HealthCheck: %s", time.Since(startMs)) + startDB := time.Now() for _, node := range req.Nodes { state := determineState(node.States) @@ -122,5 +122,5 @@ func (api *RestAPI) updateNodeStates(rw http.ResponseWriter, r *http.Request) { repo.UpdateNodeState(node.Hostname, req.Cluster, &nodeState) } - cclog.Infof("Timer updateNodeStates, SQLite Inserts: %s", time.Since(startDb)) + cclog.Debugf("Timer updateNodeStates, SQLite Inserts: %s", time.Since(startDB)) }