From 1b660c51275972e01520becafafc82110c8e50a0 Mon Sep 17 00:00:00 2001 From: Jason Tedor Date: Tue, 25 Apr 2017 16:25:52 -0400 Subject: [PATCH] Fix incorrect logger invocation It looks like auto-complete gave us a nasty surprise here with Logger#equals being invoked instead of Logger#error swallowing the absolute worst-possible level of a log message. This commit fixes the invocation. --- .../elasticsearch/transport/netty4/Netty4InternalESLogger.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/transport-netty4/src/main/java/org/elasticsearch/transport/netty4/Netty4InternalESLogger.java b/modules/transport-netty4/src/main/java/org/elasticsearch/transport/netty4/Netty4InternalESLogger.java index aaa277e34b3..91bbe1c1a9b 100644 --- a/modules/transport-netty4/src/main/java/org/elasticsearch/transport/netty4/Netty4InternalESLogger.java +++ b/modules/transport-netty4/src/main/java/org/elasticsearch/transport/netty4/Netty4InternalESLogger.java @@ -161,7 +161,7 @@ class Netty4InternalESLogger extends AbstractInternalLogger { @Override public void error(String msg) { - logger.equals(msg); + logger.error(msg); } @Override