Learn how to configure custom start-up banners in Spring Boot applications.
1. Create text file containing custom ASCII art
- Create an ASCII art from any online tool such as this.
- Name the file
banner.txt
. - Place the text file with ASCII art in
/resources
folder.
2. Set Banner Mode
Set the banner mode to either CONSOLE
or LOG
.
spring.main.banner-mode=CONSOLE
Do not use mode
OFF
. It will disable the display of banner.
Ask Questions & Share Feedback