From 29f1841fbd24470933cd13887511eba090bcc2de Mon Sep 17 00:00:00 2001 From: doverfield06 Date: Tue, 13 Dec 2016 11:50:04 -0500 Subject: [PATCH] Update README.md Call out that location information is included by default. This is an expensive operation which could cause implementors performance issues. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8f7fcff..592f06f 100644 --- a/README.md +++ b/README.md @@ -84,6 +84,8 @@ If there is throwable information available in your event, it will be populated Easy access to the exception class and exception message let's you work with those....easier. +It is worth noting that the location information is set to true (which includes the line_number, class, method, and file) by default for backwards compatability. Make sure this is your intention as this 'is an expensive operation and may impact performance' per the Log4j documentation. + # Sample XML configuration If you use the XML format for your log4j configuration (and there are valid reasons thanks to AsyncAppender - fml), changing your layout class for your appender would look like this