From b7a282d544a18c06b20242a4b48f6c08c0a49187 Mon Sep 17 00:00:00 2001 From: Danny Kopping Date: Mon, 18 May 2026 10:47:41 +0200 Subject: [PATCH] fix(enterprise/coderd/prebuilds): downgrade reconciliation stats log to debug (#25340) *Disclaimer: implemented by a Coder Agent using Claude Opus 4.6* The `reconciliation stats` log line runs on every reconciliation tick (every 5 minutes by default), even when there are no presets to reconcile. In a steady-state installation without prebuilds activity, this is the only log line that persistently shows up at info level. Demote it to `debug` so the steady-state log output stays quiet. Before: ``` 2026-05-14 15:01:25.085 [info] coderd.prebuilds: reconciliation stats elapsed=1.649153ms presets_total=0 presets_reconciled=0 ``` After: same line is emitted at `debug` level and is suppressed at the default info log level. --- enterprise/coderd/prebuilds/reconcile.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/enterprise/coderd/prebuilds/reconcile.go b/enterprise/coderd/prebuilds/reconcile.go index 6e5977828a..30f7bab2df 100644 --- a/enterprise/coderd/prebuilds/reconcile.go +++ b/enterprise/coderd/prebuilds/reconcile.go @@ -254,7 +254,7 @@ func (c *StoreReconciler) Run(ctx context.Context) { if c.reconciliationDuration != nil { c.reconciliationDuration.Observe(stats.Elapsed.Seconds()) } - c.logger.Info(ctx, "reconciliation stats", + c.logger.Debug(ctx, "reconciliation stats", slog.F("elapsed", stats.Elapsed), slog.F("presets_total", stats.PresetsTotal), slog.F("presets_reconciled", stats.PresetsReconciled),