fix(apiserver): remove redundant logs by default (#7375)

This commit is contained in:
Vibhu Pandey 2025-03-20 11:01:01 +05:30 committed by GitHub
parent fc03303c29
commit e04e58d8b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View File

@ -82,6 +82,8 @@ apiserver:
# List of routes to exclude from request responselogging.
excluded_routes:
- /api/v1/health
- /api/v1/version
- /
##################### TelemetryStore #####################

View File

@ -43,6 +43,8 @@ func newConfig() factory.Config {
Logging: Logging{
ExcludedRoutes: []string{
"/api/v1/health",
"/api/v1/version",
"/",
},
},
}