Skip to content

Commit e514954

Browse files
lowc1012craigcondit
authored andcommitted
[YUNIKORN-1179] Decrease severity of health check logging (#406)
Closes: #406 Signed-off-by: Craig Condit <[email protected]>
1 parent 764606e commit e514954

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/health_checker.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ func (c *HealthChecker) runOnce(schedulerContext *ClusterContext) {
8181
result := GetSchedulerHealthStatus(schedulerMetrics, schedulerContext)
8282
updateSchedulerLastHealthStatus(result, schedulerContext)
8383
if !result.Healthy {
84-
log.Logger().Error("Scheduler is not healthy",
84+
log.Logger().Warn("Scheduler is not healthy",
8585
zap.Any("health check values", result.HealthChecks))
8686
} else {
87-
log.Logger().Info("Scheduler is healthy",
87+
log.Logger().Debug("Scheduler is healthy",
8888
zap.Any("health check values", result.HealthChecks))
8989
}
9090
}

0 commit comments

Comments
 (0)