java - how to disable spring boot logo in stdout? -


There is no way to disable the lovely but very visible ASCII spring boot logo:

 . _____ _ _ _ _ _ \ _ \ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ / ___). | _) | | | | | || (_ | |)))) '| ____ | .__ | _ | | _ | _ | | _ \__, | ////========= | _ | ============== | ___ / = / _ / _ / _ / :: Spring Boot :: (v1. 1.8.RELEASE)  

... every time you have a Spring Boot app, do you Dumps in STDOT?

I have changed all logging into my logback.exml, but nothing has happened:

   & Lt; / Root & gt;  

Edit: The document is not called "logo" in search-friendly-duration is a "banner".

SpringApplicationBuilder () .showBanner ( wrong). Source (parent.class). Child (application.class) .run (args);

Edit is a new way of spring boot (currently 1.3.3), the way to do this:

1) The application. Properties

spring.main.banner-mode = off

2) application.yml

  spring: main: Banner-mode: "off"  

3) Main method

  Public static zero main (string [] args) {SpringApplication app = new SpringApplication () MySpringConfiguration.class); App.setBannerMode (Banner.Mode.OFF); App.run (args); }  


Comments