From 0156bcbf3203e656901a3d587b5b5cdf1601735e Mon Sep 17 00:00:00 2001 From: Igor Motov Date: Sat, 16 Aug 2014 22:09:13 -0400 Subject: [PATCH] Fix failed engine exception logging --- .../org/elasticsearch/index/engine/internal/InternalEngine.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java b/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java index f3ed2993ed5..5c7159d9759 100644 --- a/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java +++ b/src/main/java/org/elasticsearch/index/engine/internal/InternalEngine.java @@ -1307,7 +1307,7 @@ public class InternalEngine extends AbstractIndexShardComponent implements Engin return; } try { - logger.warn("failed engine [{}]", reason, failure); + logger.warn("failed engine [{}]", failure, reason); // we must set a failure exception, generate one if not supplied failedEngine = failure; for (FailedEngineListener listener : failedEngineListeners) {