Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(logs): no active endpoints is logged at debug instead of warning level #4161

Merged
merged 1 commit into from
Jun 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,12 @@ Adding a new version? You'll need three changes:
- The `CombinedServices` feature gate is now enabled by default.
[#4138](https://github.com/Kong/kubernetes-ingress-controller/pull/4138)

### Changed

- Log message `no active endpoints` is now logged at debug instead of
warning level.
[#4161](https://github.com/Kong/kubernetes-ingress-controller/pull/4161)

## [2.10.0]

> Release date: 2023-06-02
Expand Down
2 changes: 1 addition & 1 deletion internal/dataplane/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ func getServiceEndpoints(
endpoints = append(endpoints, newEndpoints...)
}
if len(endpoints) == 0 {
log.Warningf("no active endpoints")
log.Debugf("no active endpoints")
}

return targetsForEndpoints(endpoints)
Expand Down