Fix banner property used in "quiet" mode

Fixes gh-6918
pull/6919/merge
Phillip Webb 8 years ago
parent aad40093ff
commit 7299976d12

@ -80,7 +80,7 @@ public class SpringApplicationRunner {
System.setProperty("debug", "true"); System.setProperty("debug", "true");
} }
else if (level == Level.OFF.intValue()) { else if (level == Level.OFF.intValue()) {
System.setProperty("spring.main.showBanner", "false"); System.setProperty("spring.main.banner-mode", "OFF");
System.setProperty("logging.level.ROOT", "OFF"); System.setProperty("logging.level.ROOT", "OFF");
} }
} }

Loading…
Cancel
Save