Package org.springframework.boot.logging.log4j2
@NullMarked
package org.springframework.boot.logging.log4j2
Support for the Log4j 2 logging library.
-
ClassesClassDescriptionLog4j2
LogEventPatternConverterto color output using theAnsiOutputclass.Log4j2LogEventPatternConverterto convert aCorrelationIdFormatterpattern into formatted output using data from theMDC.Log4j2LogEventPatternConverterused to help format optional values that should be shown enclosed in square brackets.ThrowablePatternConverterthat adds some additional whitespace around the stack trace.LoggingSystemfor Log4j 2.LoggingSystemFactorythat returnsLog4J2LoggingSystemif possible.Spring BootConfigurationFactorythat customizes Log4J2's default configuration to: Prevent logger warnings from being printed when the application first starts.Spring BootPropertySourcethat disables Log4j2's shutdown hook.ThrowablePatternConverterthat adds some additional whitespace around the stack trace.