If one of many layouts is configured that has a place-linked attribute like HTML locationInfo, or one of several styles %C or %class, %F or %file, %l or %place, %L or %line, %M or %system, Log4j will have a snapshot with the stack, and stroll the stack trace to locate The situation facts. This is an expensive operation: 1.3 - five instances slower