Skip to content

Commit bf23a23

Browse files
fix(health): reduce log noise by changing periodic health reports to DEBUG level
The health manager was logging health reports every minute at INFO level, which was too noisy for production logs. These routine operational checks are now logged at DEBUG level instead. Users can still see these logs by setting log level to debug, but they won't clutter INFO-level logs during normal operation. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent d205473 commit bf23a23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/health/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ func (hc *ManagerImpl) reportLoop(ctx context.Context) {
677677
healthReportAnalyzer := metrics.NewHealthReportAnalyzer(report)
678678

679679
if hc.logger != nil {
680-
hc.logger.Info(hc.Name()+" health report generated",
680+
hc.logger.Debug(hc.Name()+" health report generated",
681681
logger.String("overall_status", report.Overall.String()),
682682
logger.Int("total_services", len(report.Services)),
683683
logger.Int("healthy_count", healthReportAnalyzer.HealthyCount()),

0 commit comments

Comments
 (0)