Spring Boot wird mit mehreren Standard-Logging-Framework-Konfigurationen einschließlich Log4j2 ausgeliefert. Während es im Spring-Referenzhandbuch zu Springtime eine ausführliche Dokumentation zur Anmeldung gibt, wird nicht erwähnt, wie und wo genau das Standardprotokollmuster konfiguriert ist, was es schwierig macht, dies zu überschreiben.Standard Spring Boot log4j2 Protokollmuster
Die Frage ist, wo Spring Boot das Standardprotokollmuster für Log4j2 konfiguriert?
Bisher habe ich in folgenden Orten des Frühlings-Boot sah:
AutoConfigurationReportLoggingInitializer
LoggingApplicationListener
SimpleFormatter
LoggingSystem
Log4J2LoggingSystem