Skip to content

Commit

Permalink
Add informational message at the end of health checks. (ExpediaGroup#532
Browse files Browse the repository at this point in the history
)

- and change its level to DEBUG.
  • Loading branch information
mikkokar authored and OwenLindsell committed Nov 26, 2019
1 parent 1bb5d24 commit 487a8f7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ internal class HealthCheckMonitoringService(
.flatMap { it }
.collectList()
.subscribe {
LOGGER.info("Health Check Completed ..")
val details = it.joinToString(", ") { (name, _, health2) ->
"{ app: $application, host: $name, result: $health2 }"
}

LOGGER.debug("Health Check Completed: ${details}")
}
}

Expand Down

0 comments on commit 487a8f7

Please sign in to comment.