diff --git a/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/persistence/JobProvider.java b/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/persistence/JobProvider.java index 5372da03f44..90653a9858b 100644 --- a/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/persistence/JobProvider.java +++ b/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/persistence/JobProvider.java @@ -1044,7 +1044,7 @@ public class JobProvider { SearchResponse searchResponse; try { String indexName = JobResultsPersister.getJobIndexName(jobId); - LOGGER.trace("ES API CALL: search result type {} from index {} from {}, size {]", + LOGGER.trace("ES API CALL: search result type {} from index {} from {}, size {}", ModelDebugOutput.RESULT_TYPE_VALUE, indexName, from, size); searchResponse = client.prepareSearch(indexName) diff --git a/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/integration/AutodetectResultProcessorIT.java b/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/integration/AutodetectResultProcessorIT.java index 48b73c03a77..17e9f3b0f04 100644 --- a/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/integration/AutodetectResultProcessorIT.java +++ b/elasticsearch/src/test/java/org/elasticsearch/xpack/prelert/integration/AutodetectResultProcessorIT.java @@ -107,7 +107,6 @@ public class AutodetectResultProcessorIT extends ESSingleNodeTestCase { try { writeResults(resultBuilder.build(), outputStream); } catch (IOException e) { - e.printStackTrace(); } }).start(); @@ -172,7 +171,6 @@ public class AutodetectResultProcessorIT extends ESSingleNodeTestCase { try { writeResults(resultBuilder.build(), outputStream); } catch (IOException e) { - e.printStackTrace(); } }).start(); @@ -219,7 +217,6 @@ public class AutodetectResultProcessorIT extends ESSingleNodeTestCase { try { writeResults(resultBuilder.build(), outputStream); } catch (IOException e) { - e.printStackTrace(); } }).start();