• Andy Wilkinson's avatar
    Enable the logging shutdown hook by default · 9713bfc7
    Andy Wilkinson authored
    This commit updates LoggingApplicationListener to register the logging
    shutdown hook by default.
    
    The hook is detrimental in a war deployment as it may pin parts of an
    application in memory after it has been undeployed. For this reason,
    the hook is still disabled by default in war deployments. This is
    achieved by setting an attribute on the servlet context in
    SpringBootServletInitializer that is then consumed via the Environment
    by LoggingApplicationListener.
    
    Closes gh-25046
    9713bfc7
Name
Last commit
Last update
.github Loading commit data...
buildSrc Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
git/hooks Loading commit data...
gradle/wrapper Loading commit data...
idea Loading commit data...
spring-boot-project Loading commit data...
spring-boot-tests Loading commit data...
src Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
build.gradle Loading commit data...
gradle.properties Loading commit data...
gradlew Loading commit data...
gradlew.bat Loading commit data...
settings.gradle Loading commit data...