Spring Boot參考教程(八)日誌相關使用

6. 日誌相關 Spring Boot默認使用logback日誌,可用配置如下: 不再進行測試,具體使用方法在4.1.1中有詳細介紹。 在開發中一般使用log4j等日誌,具體使用方法如下: 1 排除logback起步依賴  <dependency>            <groupId>org.springframework.boot</groupId>            <artifact
相關文章
相關標籤/搜索