Order:
Springboot start when there will be a start logo-like things, this logo-like things called banner, this article subtotal modify this banner display and close banner. It's no use, it's interesting to play ...
Body: Custom banner:
Custom banner only need to create a new Banner.txt file under Resource, put the banner words we need, and when it starts, it reads the banner in this text file.
Here are a few words to generate the website address, interested people can try
Text to character:
http://patorjk.com/software/taag/#p =display&f=graffiti&t=type%20something%20
http://www.network-science.de/ascii/
http://www.degraeve.com/img2txt.php
There are pictures to the characters, I did not find, we can look for
Here I copied a character painting of my English name, create a new banner.txt, paste it, put it under the Resources folder,
Results:
Turn off banner display:
Each springboot has a Main method (as if every Java program is not started by the main method ...). ), you can turn off banner display by slightly modifying the demo
1 /**2 * Springboot Executive Portal3 */4 Public Static voidMain (string[] args) {5 //format: Springapplication.run (current class; class, parameters);6 //Springapplication.run (Hellospringboot.class, args);7Springapplication application =NewSpringapplication (Hellospringboot.class);8 Application.setbannermode (mode.off);9 Application.Run (args);Ten}
The effect is not demonstrated, first.
Custom Springboot Boot Banner