Skip to content

[server] Log cluster messages as debug #1739#1740

Merged
agnesoft merged 1 commit intomainfrom
1739-server-log-heartbeats-as-debug
Feb 18, 2026
Merged

[server] Log cluster messages as debug #1739#1740
agnesoft merged 1 commit intomainfrom
1739-server-log-heartbeats-as-debug

Conversation

@michaelvlach
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 18, 2026 21:24
@michaelvlach michaelvlach linked an issue Feb 18, 2026 that may be closed by this pull request
@vercel
Copy link

vercel bot commented Feb 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agdb Ready Ready Preview, Comment Feb 18, 2026 9:26pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request addresses issue #1739 by reducing log noise from internal cluster Raft communication. The /api/v1/cluster endpoint is used for internal Raft protocol messages between cluster nodes, which can be very frequent and noisy. The change logs successful requests to this specific endpoint at debug level instead of info level, while maintaining info-level logging for all other successful requests.

Changes:

  • Modified the LogRecord::print() method to check if the URI ends with "/cluster" and log at debug level for successful requests (status <=399) to that endpoint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@agnesoft agnesoft merged commit 6213d89 into main Feb 18, 2026
14 checks passed
@agnesoft agnesoft deleted the 1739-server-log-heartbeats-as-debug branch February 18, 2026 21:32
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.

[server] Log cluster messages as debug

3 participants