Skip to content

Commit

Permalink
lower some noisy logs to debug level
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Kriss <[email protected]>
  • Loading branch information
skriss committed Nov 2, 2018
1 parent 76982d3 commit 6c9e1f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/controller/backup_sync_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion pkg/controller/schedule_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 6c9e1f1

Please sign in to comment.