Log4j Format Specification: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 12: Line 12:


{{External|http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout}}
{{External|http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout}}
=Pattern Layout=


=Format Modifier=
=Format Modifier=


A ''format modifier'' modifies how the data generated by the pattern layout element
A ''format modifier'' modifies how the data generated by the pattern layout element

Revision as of 17:29, 15 November 2017

External

Internal

Overview

log4j calls its output format layout. Most commonly used is the pattern layout:

http://logging.apache.org/log4j/2.x/manual/layouts.html#PatternLayout

Pattern Layout

Format Modifier

A format modifier modifies how the data generated by the pattern layout element