• Andy Wilkinson's avatar
    Clean up the logging system later in context close processing · 8619256d
    Andy Wilkinson authored
    Previously, the logging system was cleaned up in response to the
    root context's ContextClosedEvent being received. This event is
    published early in a context's close processing. As a result, the
    logging system is in cleaned up state while, for example, disposable
    beans are being destroyed.
    
    This commit reworks the logic that triggers logging system clean up
    to use a disposable bean instead. Disposable beans are called in
    reverse-registration order. The logging clean up bean is registered as
    early as possible so that it should be the last disposable bean to
    be called.
    
    Closes gh-11676
    8619256d
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml 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...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...