File tree Expand file tree Collapse file tree
simple-web/src/main/resources Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77<configuration scan =" true" scanPeriod =" 60 seconds" debug =" false" >
88
99 <!-- 配置参数常量-->
10- <!-- 级别:trace<debug<top <warn<error 增加,通常仅需要 debug/top /error-->
10+ <!-- 级别:trace<debug<info <warn<error 增加,通常仅需要 debug/info /error-->
1111 <property name =" level" value =" debug" />
1212 <!-- 文件保留时间-->
1313 <property name =" history" value =" 30" />
5454 </filter >
5555 </appender >
5656
57- <!-- top 文件日志-->
57+ <!-- info 文件日志-->
5858 <appender name =" infoAppender" class =" ch.qos.logback.core.rolling.RollingFileAppender" >
59- <file >${filePath}/top .now.log</file >
59+ <file >${filePath}/info .now.log</file >
6060 <rollingPolicy class =" ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy" >
61- <fileNamePattern >${filePath}/top/top .%d{yyyy-MM-dd}.%i.log</fileNamePattern >
61+ <fileNamePattern >${filePath}/info/info .%d{yyyy-MM-dd}.%i.log</fileNamePattern >
6262 <maxHistory >${history}</maxHistory >
6363 <maxFileSize >10MB</maxFileSize >
6464 </rollingPolicy >
You can’t perform that action at this time.
0 commit comments