From a65dcb76d651cfe83bf1a2edf0671afaf5cc3142 Mon Sep 17 00:00:00 2001 From: Jason Tedor <jason@tedor.me> Date: Thu, 10 Aug 2017 11:17:32 +0900 Subject: [PATCH] Elasticsearch 5: Log transport client on stderr This commit sets the log of the internal transport client used in the Elasitcsearch 5 binding to use standard error instead of standard out. --- elasticsearch5/src/main/resources/log4j2.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/elasticsearch5/src/main/resources/log4j2.properties b/elasticsearch5/src/main/resources/log4j2.properties index bd615f2c..dc3e1ceb 100644 --- a/elasticsearch5/src/main/resources/log4j2.properties +++ b/elasticsearch5/src/main/resources/log4j2.properties @@ -2,6 +2,7 @@ appender.console.type = Console appender.console.name = console appender.console.layout.type = PatternLayout appender.console.layout.pattern = [%d{ISO8601}][%-5p][%-25c{1.}] %marker%m%n +appender.console.targetStr = SYSTEM_ERR rootLogger.level = info rootLogger.appenderRef.console.ref = console -- GitLab