From d98bd006ec3899b637cc16e315e664a7357b8cf1 Mon Sep 17 00:00:00 2001 From: Tomas Nozicka <tomas.nozicka@scylladb.com> Date: Fri, 29 Nov 2024 09:14:38 +0100 Subject: [PATCH] Raise loglevel when reporting perftune job completion --- pkg/controller/nodetune/sync_jobs.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/controller/nodetune/sync_jobs.go b/pkg/controller/nodetune/sync_jobs.go index b8c782ca9e0..a4ddd3dca50 100644 --- a/pkg/controller/nodetune/sync_jobs.go +++ b/pkg/controller/nodetune/sync_jobs.go @@ -306,7 +306,7 @@ func (ncdc *Controller) syncJobs(ctx context.Context, nc *scyllav1alpha1.NodeCon finished = false break } - klog.V(4).InfoS("Job is completed", "Job", klog.KObj(fresh)) + klog.V(2).InfoS("Job is completed", "Job", klog.KObj(fresh)) case naming.NodeConfigJobTypeContainerPerftune, naming.NodeConfigJobTypeContainerResourceLimits: // We have successfully applied the job definition so the data should always be present at this point. @@ -339,6 +339,8 @@ func (ncdc *Controller) syncJobs(ctx context.Context, nc *scyllav1alpha1.NodeCon }) break } + klog.V(2).InfoS("Job is completed", "Job", klog.KObj(fresh)) + default: return progressingConditions, fmt.Errorf("job %q has an unkown type %q", naming.ObjRef(j), t) }