Package org.springframework.boot.logging.log4j2
@NullMarked
package org.springframework.boot.logging.log4j2
Support for the Log4j 2 logging library.
-
ClassDescriptionLog4j2
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.LoggingSystemPropertiesfor Log4j2.Available rolling policy strategies.Log4j2 rolling policy system properties that can later be used by log configuration files.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.Factory for creating a standard Log4j2TriggeringPolicybased on configuration attributes.Builder for creating aTriggeringPolicy.ThrowablePatternConverterthat adds some additional whitespace around the stack trace.