Commit 7299976d authored by Phillip Webb's avatar Phillip Webb

Fix banner property used in "quiet" mode

Fixes gh-6918
parent aad40093
...@@ -80,7 +80,7 @@ public class SpringApplicationRunner { ...@@ -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");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment