Skip to content

Commit 7299976

Browse files
committed
Fix banner property used in "quiet" mode
Fixes gh-6918
1 parent aad4009 commit 7299976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-cli/src/main/java/org/springframework/boot/cli/command/run/SpringApplicationRunner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ else if (level <= Level.FINE.intValue()) {
8080
System.setProperty("debug", "true");
8181
}
8282
else if (level == Level.OFF.intValue()) {
83-
System.setProperty("spring.main.showBanner", "false");
83+
System.setProperty("spring.main.banner-mode", "OFF");
8484
System.setProperty("logging.level.ROOT", "OFF");
8585
}
8686
}

0 commit comments

Comments
 (0)