Skip to content

Commit

Permalink
Update log level to error and debug
Browse files Browse the repository at this point in the history
Signed-off-by: faizanahmad055 <faizan.ahmad55@outlook.com>
  • Loading branch information
faizanahmad055 committed Nov 30, 2022
1 parent b414e3b commit 9875c41
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/pkg/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,5 +182,6 @@ func (c *Controller) handleErr(err error, key interface{}) {
c.queue.Forget(key)
// Report to an external entity that, even after several retries, we could not successfully process this key
runtime.HandleError(err)
logrus.Infof("Dropping key out of the queue: %v", err)
logrus.Errorf("Dropping key out of the queue: %v", err)
logrus.Debugf("Dropping the key %q out of the queue: %v", key, err)
}

0 comments on commit 9875c41

Please sign in to comment.