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,
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,