From c224dd25a9e41eba3210f8c66ffef5c459f6ca61 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath <2+defunkt@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:46:53 -0800 Subject: [PATCH] ignore health checks in logs --- src/server/apps.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/server/apps.ts b/src/server/apps.ts index bb69e71..3910355 100644 --- a/src/server/apps.ts +++ b/src/server/apps.ts @@ -677,6 +677,8 @@ async function runApp(dir: string, port: number) { const chunk = decoder.decode(value) const lines = chunk.split('\n').map(l => l.trimEnd()).filter(Boolean) for (const text of lines) { + // Skip health check logs (e.g., "200 GET http://localhost:3001/ok (0ms)") + if (/\bGET\b.*\/ok\b/.test(text)) continue info(app, text) writeLogLine(dir, streamType, text) app.logs = (app.logs ?? []).slice(-MAX_LOGS)