Fix banner property used in "quiet" mode

Fixes gh-6918
This commit is contained in:
Phillip Webb 2016-09-17 19:23:42 -07:00
parent aad40093ff
commit 7299976d12

View File

@ -80,7 +80,7 @@ public class SpringApplicationRunner {
System.setProperty("debug", "true");
}
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");
}
}