摘要: 今天介绍一下SpringBoot配置日志文件 SpringBoot在所有的内部日志中使用Commons Logging,但是默认配置也提供了对常用日志的支持,如Java Util Logging,Log4J,Log4J2和Logback。但是每种Logger都可以通过配置使用控制台或者文件输出日志内 阅读全文
posted @ 2020-04-08 21:57 leagueandlegends 阅读(6027) 评论(0) 推荐(0)
摘要: springboot中添加debug属性值,可以查看工程的配置报告,默认的debug属性值为false debug=true server.port=8082 #配置项目访问路径 server.context-path=/boot1 启动Springboot项目,可以看到如下配置 阅读全文
posted @ 2020-04-08 08:29 leagueandlegends 阅读(272) 评论(0) 推荐(0)