While running the Spring Boot application we can see the below default banner.
. ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v1.5.10.RELEASE)
If we want to replace your application’s name instead default spring banner, we can do that, here I am going to show how to set Spring Boot Custom Banner.
_ _ _____ _ _ ___ | | | || ____|| | | | / _ \ | |_| || _| | | | | | | | | | _ || |___ | |___ | |___| |_| | |_| |_||_____||_____||_____|\___/
Spring Boot Custom Banner :
Create your custom banner using ASCII art and paste [highlight color=”pink”]banner.txt[/highlight] file under resources folder like below.
banner.txt
banner.txt
_ _ _____ _ _ ___ | | | || ____|| | | | / _ \ | |_| || _| | | | | | | | | | _ || |___ | |___ | |___| |_| | |_| |_||_____||_____||_____|\___/
Run Application :
By running the application you can see the updated banner.
Happy Learning 🙂