From 48f9cf3be60190c07d5c8be1ac3a7aa7c259715b Mon Sep 17 00:00:00 2001 From: Leonard Ehrenfried Date: Wed, 8 Nov 2017 12:30:51 +0100 Subject: [PATCH] Disable calculation of log4j caller location information --- .../util-logging/src/main/scala/sbt/util/LogExchange.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/util-logging/src/main/scala/sbt/util/LogExchange.scala b/internal/util-logging/src/main/scala/sbt/util/LogExchange.scala index 0c35c98ee..b5bb1cb56 100644 --- a/internal/util-logging/src/main/scala/sbt/util/LogExchange.scala +++ b/internal/util-logging/src/main/scala/sbt/util/LogExchange.scala @@ -31,7 +31,9 @@ sealed abstract class LogExchange { false, XLevel.DEBUG, name, - "true", + // disable the calculation of caller location as it is very expensive + // https://issues.apache.org/jira/browse/LOG4J2-153 + "false", Array[AppenderRef](), null, config,