Skip to content

Commit

Permalink
[YUNIKORN-1179] Decrease severity of health check logging (#406)
Browse files Browse the repository at this point in the history
Closes: #406

Signed-off-by: Craig Condit <[email protected]>
  • Loading branch information
lowc1012 authored and craigcondit committed Apr 22, 2022
1 parent 764606e commit e514954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/scheduler/health_checker.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ func (c *HealthChecker) runOnce(schedulerContext *ClusterContext) {
result := GetSchedulerHealthStatus(schedulerMetrics, schedulerContext)
updateSchedulerLastHealthStatus(result, schedulerContext)
if !result.Healthy {
log.Logger().Error("Scheduler is not healthy",
log.Logger().Warn("Scheduler is not healthy",
zap.Any("health check values", result.HealthChecks))
} else {
log.Logger().Info("Scheduler is healthy",
log.Logger().Debug("Scheduler is healthy",
zap.Any("health check values", result.HealthChecks))
}
}
Expand Down

0 comments on commit e514954

Please sign in to comment.