Skip to content

Commit

Permalink
Decrease log level for no clients in client's list (#378)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferdudas97 authored Mar 28, 2023
1 parent 072d286 commit 6aa18ff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
Lists all changes with user impact.
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/).


## [Unreleased]

### Changed
- decrease log level for no clients in incoming-endpoint

## [0.19.31]

### Changed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ class NodeMetadataValidator(
val clients = incomingEndpoint.clients.map { it.name }

if (clients.isEmpty() && incomingEndpoint.unlistedClientsPolicy != Incoming.UnlistedPolicy.LOG) {
logger.warn(
logger.debug(
"An incoming endpoint definition for service: ${metadata.serviceName}" +
", path: ${incomingEndpoint.path} does not have any clients defined." +
"It means that no one will be able to contact that endpoint"
Expand Down

0 comments on commit 6aa18ff

Please sign in to comment.