Log4j Format Specification
Jump to navigation
Jump to search
External
Internal
Overview
log4j calls its output format layout. Most commonly used is the pattern layout.
Pattern Layout
The pattern layout is defined by a pattern string, where various element of a log event can be specified and the way they are intended to be displayed in a log file described. The format of the result depends on the conversion pattern, which is closely related to the conversion pattern of the printf function in C.
Format Modifier
A format modifier modifies how the data generated by the pattern layout element