springboot项目快速集成日志文件。利用resources\logback-spring.xml文件配置log日志的打印包括info,debug和error分开动态保留最近日志

比较完整配置文件以下:web 当新建一个基于springboot的单项目时只须要把以下配置复制到项目根目录下\src\main\resources\logback-spring.xmlspring <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE xml> <configuration scan="true" scanPeriod="60 secon
相关文章
相关标签/搜索