From 6c9e1f187f147d773a915e63c04694c50ee4f3e8 Mon Sep 17 00:00:00 2001 From: Steve Kriss Date: Fri, 2 Nov 2018 15:55:47 -0600 Subject: [PATCH] lower some noisy logs to debug level Signed-off-by: Steve Kriss --- pkg/controller/backup_sync_controller.go | 2 +- pkg/controller/schedule_controller.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/controller/backup_sync_controller.go b/pkg/controller/backup_sync_controller.go index f9727acb4..cf0277979 100644 --- a/pkg/controller/backup_sync_controller.go +++ b/pkg/controller/backup_sync_controller.go @@ -122,7 +122,7 @@ func shouldSync(location *arkv1api.BackupStorageLocation, now time.Time, backupS } func (c *backupSyncController) run() { - c.logger.Info("Checking for backup storage locations to sync into cluster") + c.logger.Debug("Checking for existing backup storage locations to sync into cluster") locations, err := c.backupStorageLocationLister.BackupStorageLocations(c.namespace).List(labels.Everything()) if err != nil { diff --git a/pkg/controller/schedule_controller.go b/pkg/controller/schedule_controller.go index 7312bf18b..d0aaac19f 100644 --- a/pkg/controller/schedule_controller.go +++ b/pkg/controller/schedule_controller.go @@ -246,7 +246,7 @@ func (c *scheduleController) submitBackupIfDue(item *api.Schedule, cronSchedule ) if !isDue { - log.WithField("nextRunTime", nextRunTime).Info("Schedule is not due, skipping") + log.WithField("nextRunTime", nextRunTime).Debug("Schedule is not due, skipping") return nil }