From 256ab7f3e2b3a914e0b42259a29314ad85d31b23 Mon Sep 17 00:00:00 2001 From: David Roberts Date: Thu, 8 Dec 2016 17:32:59 +0000 Subject: [PATCH] Fix another misuse of ParameterizedMessage Original commit: elastic/x-pack-elasticsearch@9e36900432a4aa1d46806ca52697b0f9472728ed --- .../prelert/job/process/autodetect/NativeAutodetectProcess.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/process/autodetect/NativeAutodetectProcess.java b/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/process/autodetect/NativeAutodetectProcess.java index 423bae78c3d..d4001912ce8 100644 --- a/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/process/autodetect/NativeAutodetectProcess.java +++ b/elasticsearch/src/main/java/org/elasticsearch/xpack/prelert/job/process/autodetect/NativeAutodetectProcess.java @@ -63,7 +63,7 @@ class NativeAutodetectProcess implements AutodetectProcess { try (CppLogMessageHandler h = cppLogHandler) { h.tailStream(); } catch (IOException e) { - LOGGER.error(new ParameterizedMessage("[{}] Error tailing C++ process logs", new Object[] { jobId }, e)); + LOGGER.error(new ParameterizedMessage("[{}] Error tailing C++ process logs", new Object[] { jobId }), e); } }); }