[Architecture] Spring Boot customized start pattern

Disclaimer: This article is a blogger original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
This link: https://blog.csdn.net/sinat_27933301/article/details/100178515

1, when the Spring Boot boot will have a default start pattern.

Here Insert Picture Description

2, we create a new banner.txt in src / main / resources.

3, by http://patorjk.com/software/taag generated characters website, copy the Web to generate characters in banner.txt.

4, then re-start the program, the pattern becomes as shown in FIG.

Here Insert Picture Description

5, turn off banner way

SpringApplication app = new SpringApplication(app.class);
app.setShowBanner(false);
app.run(args);

Guess you like

Origin blog.csdn.net/sinat_27933301/article/details/100178515