清理忽略springboot控制臺啟動的banner和啟動日志
1、springboot的banner
spring:
main:
banner-mode: off
2、mybatis-plus的banner
mybatis-plus:
type-aliases-package: com.hmdp.entity # 別名掃描包
global-config:
banner: false

3.springboot啟動日志
在resources檔案夾下創建logback.xml檔案,檔案內容如下:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
</configuration>
轉載請註明出處,本文鏈接:https://www.uj5u.com/houduan/500747.html
標籤:其他
