Skip to content

Commit

Permalink
#93 - When auto-shutdown occurs log an INFO message about there being…
Browse files Browse the repository at this point in the history
… no ~/.ebean/ignore-docker-shutdown marker file
  • Loading branch information
rbygrave committed Feb 20, 2023
1 parent 5242e7f commit fb2da4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/io/ebean/test/containers/BaseContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ private StopMode determineShutdownMode() {
} else if (SkipShutdown.isSkip()) {
return StopMode.None;
} else {
log.log(Level.INFO, "Using shutdown remove mode as no marker file: {0}", SkipShutdown.ignoreMarkerFile());
return StopMode.Remove;
}
}
Expand All @@ -94,7 +95,7 @@ private class Hook extends Thread {

@Override
public void run() {
String ignoreFile = SkipShutdown.isSkip() ? "" : ", No " + SkipShutdown.ignoreMarkerFile() + " marker file";
String ignoreFile = SkipShutdown.isSkip() ? "" : ", No marker file: " + SkipShutdown.ignoreMarkerFile();
if (StopMode.Remove == mode) {
log.log(Level.INFO, "Stop remove container {0}{1}", config.containerName(), ignoreFile);
stopRemove();
Expand Down

0 comments on commit fb2da4d

Please # to comment.