当前位置:网站首页>23.2 customizing the banner control display hidden banner modify banner
23.2 customizing the banner control display hidden banner modify banner
2022-07-26 08:27:00 【csg103】
1: stay Application Of main In the method , You can only control the display and not display , The content cannot be modified
public static void main(String[] args) throws Exception { SpringApplication application = new SpringApplication(Example.class); /* * Banner.Mode.OFF: close ; * Banner.Mode.CONSOLE: Console output , Default mode ; * Banner.Mode.LOG: Log output mode ; */ //application.setBannerMode(Banner.Mode.OFF); application.run(args); }
2 stay src/main/resouces Under the new banner.txt, You can modify banner content
http://patorjk.com/software/taag Foreign online software , Can edit any text Impassable format .
┬┴┬/ ̄\_/ ̄\
┬┴┬┴▏ ▏▔▔▔▔\
┴┬┴/\ / ﹨
┬┴∕ / )
┴┬▏ ● ▏
┬┴▏ ▔█
┴◢██◣ \__/ !
┬█████◣ /
┴█████████████◣
◢██████████████▆▄
█◤◢██◣◥█████████◤\
◥◢████ ████████◤ \
┴█████ ██████◤ ﹨
┬│ │█████◤ ▏
┴│ │ ▏
┬∕ ∕ /▔▔▔\ ∕
┴/___/﹨ ∕ ﹨ /\
# This is springboot Version number of
${
spring-boot.version}
# This is springboot Version number of
${
spring-boot.formatted-version}3: Rewrite interface Banner Realization
SpringBoot An interface is provided org.springframework.boot.Banner, His example can be passed on to SpringApplication Of setBanner(banner) Method . If you are too busy to focus on beautifying the command line output , Can be rewritten Banner Interface printBanner Method .
SpringBoot At startup Banner Set up :
http://somefuture.iteye.com/blog/2247401
4 stay application.properties To configure
stay application.proerpties Conduct banner Display and close :
### Whether or not shown banner, Optional value [true|false]
spring.main.show-banner=false
边栏推荐
- BGP的基本配置
- 2022-024arts: Longest valid bracket
- Code cloud change remote warehouse command
- 2022/7/18 exam summary
- Status management bloc provider geTx
- Kotlin program control
- 2022-7-7 personal qualifying 4 competition experience
- Burp suite Chapter 9 how to use burp repeater
- 2022-7-6 personal qualifying 3 competition experience
- 2022 national vocational college skills competition "network security" competition question file upload penetration test answer flag
猜你喜欢

Burp suite Chapter 3 how to use burp suite agent
![[endnote] detailed explanation of document template layout syntax](/img/fd/2caf4ff846626411fe8468f870e66a.png)
[endnote] detailed explanation of document template layout syntax

99 multiplication table and inverted triangle 99 multiplication table

Basic configuration of BGP
![[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)](/img/25/475c91d7e673fda3930e5a69be0f28.png)
[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)

22-07-14 personal training match 2 competition experience

Burp suite Chapter 8 how to use burp intruder

Prefix infix suffix expression (written conversion)

How to safely delete a useless activity in Android studio

Lesson 3: gcc compiler
随机推荐
[GUI] GUI programming; AWT package (interface properties, layout management, event monitoring)
import error: ‘Icon‘ is not exported from ‘antd‘. Import icon error
Let's talk about the three core issues of concurrent programming.
[endnote] compilation of document types and abbreviations of document types
Kotlin data type
JS tool function Encyclopedia
QT uses QSS to make a beautiful login interface (hand-in-hand teaching)
mysql函数汇总之日期和时间函数
2022/7/1
Beauty naked chat for a while, naked chat over the crematorium!
Kotlin operator
吉他五线谱联系 茉莉花
Vscode utility shortcut
How to safely delete a useless activity in Android studio
Awk operation
Matplotlib learning notes
我,35岁了。
Apple's tough new rule: third-party payment also requires a percentage, and developers lose a lot!
[time complexity, space complexity]
SPSS用KMeans、两阶段聚类、RFM模型在P2P网络金融研究借款人、出款人行为规律数据