From 64b3516230aa88ef48321de859b60e162d2e74ff Mon Sep 17 00:00:00 2001 From: Or Shoval Date: Mon, 7 Oct 2019 11:58:19 +0300 Subject: [PATCH] Update verbosity of periodic logs from production to debug --- pkg/controller/node/node_controller.go | 2 +- .../nodenetworkstatereport/nodenetworkstatereport_controller.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/node/node_controller.go b/pkg/controller/node/node_controller.go index cee6b9994a..ff9371ef8c 100644 --- a/pkg/controller/node/node_controller.go +++ b/pkg/controller/node/node_controller.go @@ -88,7 +88,7 @@ type ReconcileNode struct { // Result.Requeue is true, otherwise upon completion it will remove the work from the queue. func (r *ReconcileNode) Reconcile(request reconcile.Request) (reconcile.Result, error) { reqLogger := log.WithValues("Request.Namespace", request.Namespace, "Request.Name", request.Name) - reqLogger.Info("Reconciling Node") + reqLogger.V(1).Info("Reconciling Node") // Fetch the Node instance instance := &corev1.Node{} diff --git a/pkg/controller/nodenetworkstatereport/nodenetworkstatereport_controller.go b/pkg/controller/nodenetworkstatereport/nodenetworkstatereport_controller.go index fdb0684001..8e63aba047 100644 --- a/pkg/controller/nodenetworkstatereport/nodenetworkstatereport_controller.go +++ b/pkg/controller/nodenetworkstatereport/nodenetworkstatereport_controller.go @@ -103,7 +103,7 @@ type ReconcileNodeNetworkStateReport struct { // Result.Requeue is true, otherwise upon completion it will remove the work from the queue. func (r *ReconcileNodeNetworkStateReport) Reconcile(request reconcile.Request) (reconcile.Result, error) { reqLogger := log.WithValues("Request.Namespace", request.Namespace, "Request.Name", request.Name) - reqLogger.Info("Reconciling NodeNetworkState report") + reqLogger.V(1).Info("Reconciling NodeNetworkState report") // Fetch the NodeNetworkState instance instance := &nmstatev1alpha1.NodeNetworkState{}