Class SpringBootConfigurationFactory


@Plugin(name="SpringBootConfigurationFactory", category="ConfigurationFactory") public class SpringBootConfigurationFactory extends ConfigurationFactory
Spring Boot ConfigurationFactory that customizes Log4J2's default configuration to:
  1. Prevent logger warnings from being printed when the application first starts.
This factory is ordered last and is triggered by a log4j2.springboot classpath resource (which is bundled in this jar). If the Log4J2LoggingSystem is active, a DefaultConfiguration is returned with the expectation that the system will later re-initialize Log4J2 with the correct configuration file.
Since:
1.5.0
Author:
Phillip Webb