Skip to content

Commit

Permalink
Clear logback status list on reset
Browse files Browse the repository at this point in the history
Update LogbackLoggingSystem to clear logback status messages on reset.
This prevents shutdown errors from preventing subsequent startup.

Fixes spring-projectsgh-3472
  • Loading branch information
philwebb committed Jul 13, 2015
1 parent db50fb8 commit 73be2c0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
1 change: 1 addition & 0 deletions spring-boot-samples/spring-boot-sample-web-jsp/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target/
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ public void cleanUp() {
@Override
protected void reinitialize(LoggingInitializationContext initializationContext) {
getLoggerContext().reset();
getLoggerContext().getStatusManager().clear();
loadConfiguration(initializationContext, getSelfInitializationConfig(), null);
}

Expand Down

0 comments on commit 73be2c0

Please sign in to comment.