springboot 远程日志
生活随笔
收集整理的這篇文章主要介紹了
springboot 远程日志
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
2019獨角獸企業重金招聘Python工程師標準>>>
添加依賴
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-actuator</artifactId> </dependency>然后application.properties添加配置:
logging.path=/mylog
logging.file=myy.log
?
然后再get 訪問/logfile 就可以查看日志啦
轉載于:https://my.oschina.net/bddiudiu/blog/814192
總結
以上是生活随笔為你收集整理的springboot 远程日志的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Git 学习看这篇就够了!
- 下一篇: 【powerdesigner】将pdm或