From 5a72a6cedea735eade94206e73f08f53c6bd5454 Mon Sep 17 00:00:00 2001 From: Annie Lee Date: Thu, 17 Mar 2022 16:42:27 -0700 Subject: [PATCH] Update TransportGetDestinationsAction.kt --- .../alerting/transport/TransportGetDestinationsAction.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetDestinationsAction.kt b/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetDestinationsAction.kt index cef192700..6222e2ab0 100644 --- a/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetDestinationsAction.kt +++ b/alerting/src/main/kotlin/org/opensearch/alerting/transport/TransportGetDestinationsAction.kt @@ -144,6 +144,9 @@ class TransportGetDestinationsAction @Inject constructor( val totalDestinationCount = response.hits.totalHits?.value?.toInt() val destinations = mutableListOf() for (hit in response.hits) { + // TODO: Remove debug logs + log.info("hit: $hit") + log.info("hit.sourceAsString: $hit.sourceAsString") val id = hit.id val version = hit.version val seqNo = hit.seqNo.toInt()