|
@@ -37,24 +37,6 @@
|
|
|
</layout>
|
|
|
</appender>
|
|
|
|
|
|
- <appender name="activiti" class="ch.qos.logback.core.rolling.RollingFileAppender">
|
|
|
- <File>/data/project/logs/activiti.log</File>
|
|
|
- <filter class="ch.qos.logback.classic.filter.ThresholdFilter">
|
|
|
- <level>trace</level>
|
|
|
- </filter>
|
|
|
- <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
|
|
|
- <fileNamePattern>/data/project/logs/activiti-%d{yyyyMMdd}.log.%i
|
|
|
- </fileNamePattern>
|
|
|
- <timeBasedFileNamingAndTriggeringPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedFNATP">
|
|
|
- <maxFileSize>500MB</maxFileSize>
|
|
|
- </timeBasedFileNamingAndTriggeringPolicy>
|
|
|
- <maxHistory>2</maxHistory>
|
|
|
- </rollingPolicy>
|
|
|
- <layout class="ch.qos.logback.classic.PatternLayout">
|
|
|
- <Pattern>%d{yyyy-MM-dd HH:mm:ss.SSS} [%thread] %-5level %logger{36} -%msg%n
|
|
|
- </Pattern>
|
|
|
- </layout>
|
|
|
- </appender>
|
|
|
<!--异步输出-->
|
|
|
<appender name="ASYNC_INFO_FILE" class="ch.qos.logback.classic.AsyncAppender">
|
|
|
<discardingThreshold>0</discardingThreshold>
|
|
@@ -74,9 +56,6 @@
|
|
|
<logger name="org.hibernate.engine.query.HQLQueryPlan" level="ERROR" />
|
|
|
<logger name="org.springframework.jdbc.core" level="debug"/>
|
|
|
<logger name="org.springframework.jdbc.core.StatementCreatorUtils" level="trace"/>
|
|
|
- <logger name="org.activiti" level="trace">
|
|
|
- <appender-ref ref="activiti"/>
|
|
|
- </logger>
|
|
|
<root level="INFO">
|
|
|
<appender-ref ref="ASYNC_ERROR_FILE" />
|
|
|
<appender-ref ref="ASYNC_INFO_FILE" />
|