leaderelection: reduce renewed lease verbosity

This patch changes the renewed lease log level from 4 to 5 of leaderelection.go

Fix: #69743
This commit is contained in:
seunghunee 2018-11-01 08:12:07 +00:00
parent 5a8f831964
commit 920db78bea

View File

@ -224,7 +224,7 @@ func (le *LeaderElector) renew(ctx context.Context) {
le.maybeReportTransition()
desc := le.config.Lock.Describe()
if err == nil {
glog.V(4).Infof("successfully renewed lease %v", desc)
glog.V(5).Infof("successfully renewed lease %v", desc)
return
}
le.config.Lock.RecordEvent("stopped leading")