If on the list of layouts is configured that has a locale-associated attribute like HTML locationInfo, or one of many designs %C or %course, %File or %file, %l or %locale, %L or %line, %M or %method, Log4j will take a snapshot on the stack, and walk the stack trace to seek out The situation info. This is often a pricey operation: 1.3 - 5 situations