From 3073462f1c634f60dd8667b3c6e87ea6a78fe27c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Reme=C5=A1?= Date: Thu, 21 Sep 2023 15:19:50 +0200 Subject: [PATCH] OCPBUGS-19476: update Insights report config logging --- pkg/insights/insightsreport/insightsreport.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkg/insights/insightsreport/insightsreport.go b/pkg/insights/insightsreport/insightsreport.go index 0b316333a..f9fbe9685 100644 --- a/pkg/insights/insightsreport/insightsreport.go +++ b/pkg/insights/insightsreport/insightsreport.go @@ -293,7 +293,9 @@ func (c *Controller) RetrieveReport() { func (c *Controller) Run(ctx context.Context) { c.StatusController.UpdateStatus(controllerstatus.Summary{Healthy: true}) klog.V(2).Info("Starting report retriever") - klog.V(2).Infof("Initial config: %v", c.configurator.Config()) + conf := c.configurator.Config() + klog.V(2).Infof("Insights analysis reports will be downloaded from the %s endpoint with a delay of %s", + conf.ReportEndpoint, conf.ReportPullingDelay) for { // always wait for new uploaded archive or insights-operator ends select {