diff --git a/src/main/java/com/tarento/formservice/repository/ElasticSearchRepository.java b/src/main/java/com/tarento/formservice/repository/ElasticSearchRepository.java index 766d86e8ceaf48cf1379599098a638a187ecc8c9..addadc152287e7d0d94e76da8635581ace18d33f 100644 --- a/src/main/java/com/tarento/formservice/repository/ElasticSearchRepository.java +++ b/src/main/java/com/tarento/formservice/repository/ElasticSearchRepository.java @@ -136,6 +136,7 @@ public class ElasticSearchRepository { try { IndexRequest indexRequest = new IndexRequest().index(indexName).id(id).source(new Gson().toJson(object), XContentType.JSON); + LOGGER.info("Index request: " + indexRequest); IndexResponse response = client.index(indexRequest, RequestOptions.DEFAULT); if (!StringUtils.isBlank(response.toString())) LOGGER.info("Response : {}", response);