Package org.springframework.boot.logging.log4j2
package org.springframework.boot.logging.log4j2
Support for the Log4j 2 logging library.
-
ClassDescriptionLog4j2
LogEventPatternConverter
colors output using theAnsiOutput
class.Log4j2LogEventPatternConverter
to convert aCorrelationIdFormatter
pattern into formatted output using data from theMDC
.ThrowablePatternConverter
that adds some additional whitespace around the stack trace.LoggingSystem
for Log4j 2.LoggingSystemFactory
that returnsLog4J2LoggingSystem
if possible.Spring BootConfigurationFactory
that customizes Log4J2's default configuration to: Prevent logger warnings from being printed when the application first starts.Spring BootPropertySource
that disables Log4j2's shutdown hook.ThrowablePatternConverter
that adds some additional whitespace around the stack trace.