• Andy Wilkinson's avatar
    When Logback is the logging system, ensure that JBoss logging uses it · 59ebc3b3
    Andy Wilkinson authored
    Previously, if Logback was being used as Boot's logging system, but
    Log4J was also on the classpath before SLF4J and Logback, JBoss
    Logging would use Log4J for its logging. This lead to warning messages
    being produced as Log4J was not configured:
    
    log4j:WARN No appenders could be found for logger (org.jboss.logging).
    log4j:WARN Please initialize the log4j system properly.
    
    This commit updates LogbackLoggingSystem to set the
    org.jboss.logging.provider to "slf4j". This ensure that JBoss Logging
    will use SLF4J and Logback as intended even when Log4J is also on the
    classpath.
    
    Closes gh-1928
    59ebc3b3
Name
Last commit
Last update
docs Loading commit data...
eclipse Loading commit data...
spring-boot Loading commit data...
spring-boot-actuator Loading commit data...
spring-boot-autoconfigure Loading commit data...
spring-boot-cli Loading commit data...
spring-boot-dependencies Loading commit data...
spring-boot-docs Loading commit data...
spring-boot-full-build Loading commit data...
spring-boot-integration-tests Loading commit data...
spring-boot-parent Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-starters Loading commit data...
spring-boot-tools Loading commit data...
spring-boot-versions Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
.travis.yml Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
pom.xml Loading commit data...