Skip to content

fix(opencode): exclude /global/health from request logging#8258

Merged
markijbema merged 1 commit into
mainfrom
session/agent_bfb21c74-e11d-4bf7-930d-dc2fce46bfe5
Apr 3, 2026
Merged

fix(opencode): exclude /global/health from request logging#8258
markijbema merged 1 commit into
mainfrom
session/agent_bfb21c74-e11d-4bf7-930d-dc2fce46bfe5

Conversation

@kilo-code-bot

@kilo-code-bot kilo-code-bot Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds /global/health to the skipLogging set in the server logging middleware, alongside the existing /log and /telemetry/capture exclusions.
  • Health check endpoints are polled frequently and produce high-volume, low-value log entries. Excluding them reduces log noise and makes it easier to spot meaningful requests in server logs.

Changes

packages/opencode/src/server/server.ts — extended the skipLogging condition on line 107 to also match /global/health.


Built for Mark by Kilo for Slack

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.
@kilo-code-bot

kilo-code-bot Bot commented Apr 3, 2026

Copy link
Copy Markdown
Contributor Author

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • packages/opencode/src/server/server.ts

Reviewed by gpt-5.4-20260305 · 173,457 tokens

@markijbema markijbema enabled auto-merge April 3, 2026 08:44
@markijbema markijbema merged commit dd2b929 into main Apr 3, 2026
16 checks passed
@markijbema markijbema deleted the session/agent_bfb21c74-e11d-4bf7-930d-dc2fce46bfe5 branch April 3, 2026 09:37
jliounis pushed a commit to jliounis/kilocode that referenced this pull request May 18, 2026
…-e11d-4bf7-930d-dc2fce46bfe5

fix(opencode): exclude /global/health from request logging
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants