Disable calculation of log4j caller location information

This commit is contained in:
Leonard Ehrenfried 2017-11-08 12:30:51 +01:00
parent c0c186580a
commit 48f9cf3be6
No known key found for this signature in database
GPG Key ID: 56CCB7F9445717AF
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ sealed abstract class LogExchange {
false, false,
XLevel.DEBUG, XLevel.DEBUG,
name, name,
"true", // disable the calculation of caller location as it is very expensive
// https://issues.apache.org/jira/browse/LOG4J2-153
"false",
Array[AppenderRef](), Array[AppenderRef](),
null, null,
config, config,