fix(cli): exclude /global/health from request logging

Health check endpoints generate high-volume, low-value log entries.
Add /global/health to the skipLogging set alongside /log and
/telemetry/capture to reduce log noise.
This commit is contained in:
kiloconnect[bot]
2026-04-03 08:39:36 +00:00
parent 3b794539fa
commit 25874277f0
+2 -1
View File
@@ -104,7 +104,8 @@ export namespace Server {
// kilocode_change start
// kilocode change add telemetry because it is high volume
// add early return to prevent logging timing
const skipLogging = c.req.path === "/log" || c.req.path === "/telemetry/capture"
const skipLogging =
c.req.path === "/log" || c.req.path === "/telemetry/capture" || c.req.path === "/global/health"
if (skipLogging) {
await next()
return