dotnet / dotnet/AspNetCore.Docs

How to disable health check logging

Open
#32,953 0 comments 1 reaction 1 assignee Claimed by @tdykstra View on GitHub
:watch: Not Triaged aspnet-core/svc hosting-deployment/subsvc Source - Docs.ms
Dominant language
C#
Stars
13.1k
Forks
24.6k
Avg merge
1d 3h
Merged PRs (30d)
97

Description

### Description

UUF verbatim:

>The health checks are flooding the console and i don't see how to disable the logging. I want to have the endpoints available to probe /health but i don't want the package to flood the logs. Also please don't generate content using AI ... it is so much better if a human thinks about what is important and writes the text. AI generates so much useless blabla :(

### Page URL

https://learn.microsoft.com/en-us/aspnet/core/host-and-deploy/health-checks?view=aspnetcore-8.0

### Content source URL

https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/host-and-deploy/health-checks.md

### Document ID

52d8efc9-a336-71d9-6d90-98173cbf6bf4

### Article author

@tdykstra

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.