Skip to content

Option to stop logging /health requests #2237

@Vivida1

Description

@Vivida1

Hello!

  • Vote on this issue by adding a 👍 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Using step ca in Docker, the logs get full of /health requests:

time="2025-04-07T10:42:59Z" level=info duration="36.959µs" duration-ns=36959 fields.time="2025-04-07T10:42:59Z" method=GET name=ca path=/health protocol=HTTP/1.1 referer= remote-address=<ip> request-id=5e0d5ae1-02bd-4e51-a08b-f6e998b8f9ef size=16 status=200 user-agent="Mozilla/5.0 (compatible; <Monitoring Software>; Windows)" user-id=

Anyone with a monitoring software using the /health endpoint should have a similar issue.

Why is this needed?

The logs are flooded with /health requests, making it harder to extract useful information from the logs.

Metadata

Metadata

Assignees

Labels

enhancementneeds triageWaiting for discussion / prioritization by team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions