hashicorp / hashicorp/consul

Proposal: Change serf Log Messages from INFO to NOTICE

Open
#20,809 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
2d 6h
Merged PRs (30d)
43

Description

#### Feature Description

This is a proposal to change the serf logging such as `EventMemberLeave`, `EventMemberFailed`, `EventMemberJoin`, and `agent.client.memberlist.X` messages from INFO to NOTICE log level.

#### Use Case(s)

The consul agent logs, at INFO level, have a great deal of abundant information, on top of this, the amount of serf/gossip related logging is an immense amount of logging information, that, at times, dilute the logs to the point where its difficult to find meaningful data when troubleshooting an issue.

Due to the amount of logging messages from gossiping/serf, and at times, in big deployments, how many there can be, while they aren't debug level messaging, moving them down to a more detailed log level seems to make sense.

Contributor guide

Open the contributing guide

Research direction

Start by locating the Consul agent logging paths for EventMemberLeave, EventMemberFailed, EventMemberJoin, and agent.client.memberlist.X. Review how these serf messages are assigned their current INFO level and determine the affected logging entry points. Done means the specified messages use NOTICE while retaining the intended distinction from DEBUG-level output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.