logging-log4j2 icon indicating copy to clipboard operation
logging-log4j2 copied to clipboard

LOG4J2-2750: Extended throwable class loading can be disabled

Open carterkozak opened this issue 5 years ago • 3 comments

Implemented a new log4j2.enable.extended.throwable.class.loading flag which may be set to false in order to safely avoid performance pitfalls of class loading.

carterkozak avatar Dec 30 '19 18:12 carterkozak

TODOS:

  • Test coverage
  • Documentation for the new flag
  • Changelog

carterkozak avatar Dec 30 '19 18:12 carterkozak

@carterkozak I added support for requiresLocation() to LoggerConfig and various the various components a few releases ago. However, requiresLocation() should really be used as advice. If it is set to false it is still possible there is a custom component that didn't register its need for location information. With that in mind is there a way to leverage that somehow?

rgoers avatar Jul 29 '20 03:07 rgoers

is this ok?

jacky1193610322 avatar Jan 05 '21 13:01 jacky1193610322