|
@ -3,10 +3,10 @@ |
|
|
<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="FILEACSTOWMS" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|
|
<appender name="FILEQueryMagicAgvTaskStatus" 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}/ACS请求WMS/%d{yyyy-MM-dd}.%i.log</FileNamePattern> |
|
|
<FileNamePattern>${LOG_HOME}/查询agv任务状态/%d{yyyy-MM-dd}.%i.log</FileNamePattern> |
|
|
<!--日志文件保留天数--> |
|
|
<!--日志文件保留天数--> |
|
|
<maxHistory>15</maxHistory> |
|
|
<maxHistory>15</maxHistory> |
|
|
<!--单个日志最大容量 至少10MB才能看得出来--> |
|
|
<!--单个日志最大容量 至少10MB才能看得出来--> |
|
@ -26,7 +26,7 @@ |
|
|
</logger>--> |
|
|
</logger>--> |
|
|
|
|
|
|
|
|
<!-- 打印sql --> |
|
|
<!-- 打印sql --> |
|
|
<logger name="org.nl.acs.agv.server.impl.AgvServiceImpl" level="info" additivity="false"> |
|
|
<logger name="package org.nl.modules.quartz.task.QueryMagicAgvTaskStatus" level="info" additivity="false"> |
|
|
<appender-ref ref="FILEACSTOWMS"/> |
|
|
<appender-ref ref="FILEQueryMagicAgvTaskStatus"/> |
|
|
</logger> |
|
|
</logger> |
|
|
</included> |
|
|
</included> |
|
|