Re: Fwd: Include location and performance

2017-11-27 Thread Mikael Ståldal
If you use Scala, you could use macros. On 2017-11-27 13:47, Martin Všetička wrote: Hi, I use Log4j2 with async logger and includeLocation=true. As the manual warns, it slows down my application 4 times. Are there any tips how to obtain location information without runtime performance hit? *

Fwd: Include location and performance

2017-11-27 Thread Martin Všetička
Hi, I use Log4j2 with async logger and includeLocation=true. As the manual warns, it slows down my application 4 times. Are there any tips how to obtain location information without runtime performance hit? * I use Java 9 so that Log4j2 can use the stack walking API but it does not help too much.