|
@ -3,7 +3,7 @@ |
|
|
<springProperty scope="context" name="logPath" source="logging.file.path" defaultValue="logs"/> |
|
|
<springProperty scope="context" name="logPath" source="logging.file.path" defaultValue="logs"/> |
|
|
<property name="LOG_HOME" value="${logPath}"/> |
|
|
<property name="LOG_HOME" value="${logPath}"/> |
|
|
<!-- 按照每天生成日志文件 --> |
|
|
<!-- 按照每天生成日志文件 --> |
|
|
<appender name="FILE13" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|
|
<appender name="QueryZDAgvTaskStatus" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> |
|
|
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy"> |
|
|
<!--日志文件输出的文件名--> |
|
|
<!--日志文件输出的文件名--> |
|
|
<FileNamePattern>${LOG_HOME}/任务反馈/%d{yyyy-MM-dd}.%i.log</FileNamePattern> |
|
|
<FileNamePattern>${LOG_HOME}/任务反馈/%d{yyyy-MM-dd}.%i.log</FileNamePattern> |
|
@ -27,7 +27,7 @@ |
|
|
</logger>--> |
|
|
</logger>--> |
|
|
|
|
|
|
|
|
<!-- 打印sql --> |
|
|
<!-- 打印sql --> |
|
|
<logger name="org.nl.acs.task.service.impl.TaskServiceImpl.java" level="info" additivity="false"> |
|
|
<logger name="org.nl.modules.quartz.task.QueryZDAgvTaskStatus" level="info" additivity="false"> |
|
|
<appender-ref ref="FILE13"/> |
|
|
<appender-ref ref="QueryZDAgvTaskStatus"/> |
|
|
</logger> |
|
|
</logger> |
|
|
</included> |
|
|
</included> |