Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Logging
    • Labels:
      None

      Description

      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)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jamezp James Perkins
                  Reporter:
                  baranowb Bartosz Baranowski
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated: