How to Set Spring Boot Custom Banner

By | 2018-02-20T01:42:10+00:00 February 20th, 2018|Spring Boot|0 Comments

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.

Spring Boot Custom Banner

banner.txt

 _   _  _____  _      _      ___  
| | | || ____|| |    | |    / _ \ 
| |_| ||  _|  | |    | |   | | | |
|  _  || |___ | |___ | |___| |_| |
|_| |_||_____||_____||_____|\___/

Run Application :

By running the application you can see the updated banner.

Spring Boot Custom Banner Out

Happy Learning 🙂

About the Author:

Hi Folks, you have reach this so far, that shows you like what you are learning. Then why don't you support us to improve for bettor tutorials by leaving your valuable comments and why not you keep in touch with us for latest updates on your favorite blog @ facebook , twitter , Or Google+ ,

Leave A Comment