Spring Boot when add-logging-api-dependencies=false and jul-to-slf4j.jar is packaged in the app, that it will remove all handlers from the root logger, which includes JBoss Logging's Handler resulting in logging to stop.
20:37:01,188 INFO [stdout] (ServerService Thread Pool -- 79) org.slf4j.bridge.SLF4JBridgeHandler.removeHandlersForRootLogger(SLF4JBridgeHandler.java:-1) 20:37:01,188 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.logging.Slf4JLoggingSystem.removeJdkLoggingBridgeHandler(Slf4JLoggingSystem.java:78) 20:37:01,188 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.logging.Slf4JLoggingSystem.configureJdkLoggingBridgeHandler(Slf4JLoggingSystem.java:61) 20:37:01,189 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.logging.Slf4JLoggingSystem.beforeInitialize(Slf4JLoggingSystem.java:41) 20:37:01,189 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.logging.log4j2.Log4J2LoggingSystem.beforeInitialize(Log4J2LoggingSystem.java:136) 20:37:01,189 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.logging.LoggingApplicationListener.onApplicationStartingEvent(LoggingApplicationListener.java:231) 20:37:01,189 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:210) 20:37:01,189 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) 20:37:01,189 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) 20:37:01,190 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) 20:37:01,190 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:122) 20:37:01,190 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.context.event.EventPublishingRunListener.starting(EventPublishingRunListener.java:69) 20:37:01,190 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.SpringApplicationRunListeners.starting(SpringApplicationRunListeners.java:48) 20:37:01,190 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.SpringApplication.run(SpringApplication.java:292) 20:37:01,190 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.web.support.SpringBootServletInitializer.run(SpringBootServletInitializer.java:156) 20:37:01,190 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.web.support.SpringBootServletInitializer.createRootApplicationContext(SpringBootServletInitializer.java:136) 20:37:01,191 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.boot.web.support.SpringBootServletInitializer.onStartup(SpringBootServletInitializer.java:91) 20:37:01,191 INFO [stdout] (ServerService Thread Pool -- 79) org.springframework.web.SpringServletContainerInitializer.onStartup(SpringServletContainerInitializer.java:169)
- clones
-
JBEAP-19189 [GSS](7.3.z) WFCORE-4910 - Log WARN if JBoss Logging Handler gets removed
- Closed
- is related to
-
WFLY-11865 Wildfly console logging stops with statement, "2 Spring WebApplicationInitializers detected on classpath"
- Closed
-
WFCORE-4910 Log WARN if JBoss Logging Handler gets removed
- Reopened
- links to