Browse Source

rev log

master
汪菘 1 year ago
parent
commit
a579be2ad0
  1. 2
      acs/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/ZheDaAgvServiceImpl.java
  2. 6
      acs/nladmin-system/src/main/resources/log/QueryZDAgvTaskStatus.xml
  3. 2
      acs/nladmin-system/src/main/resources/logback-spring.xml

2
acs/nladmin-system/src/main/java/org/nl/acs/agv/server/impl/ZheDaAgvServiceImpl.java

@ -419,7 +419,7 @@ public class ZheDaAgvServiceImpl implements ZheDaAgvService {
String agvurl = acsConfigService.findConfigFromCache().get(AcsConfig.AGVURL);
String agvport = acsConfigService.findConfigFromCache().get(AcsConfig.AGVPORT);
agvurl = agvurl + ":" + agvport + "/api/route/transportOrders/" + jobno + "/interact";
agvurl = agvurl + ":" + agvport + "/rmds/v1/transportOrders/" + jobno + "/interact";
HttpResponse result = HttpRequest.post(agvurl)

6
acs/nladmin-system/src/main/resources/log/TaskServiceImpl.xml → acs/nladmin-system/src/main/resources/log/QueryZDAgvTaskStatus.xml

@ -3,7 +3,7 @@
<springProperty scope="context" name="logPath" source="logging.file.path" defaultValue="logs"/>
<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">
<!--日志文件输出的文件名-->
<FileNamePattern>${LOG_HOME}/任务反馈/%d{yyyy-MM-dd}.%i.log</FileNamePattern>
@ -27,7 +27,7 @@
</logger>-->
<!-- 打印sql -->
<logger name="org.nl.acs.task.service.impl.TaskServiceImpl.java" level="info" additivity="false">
<appender-ref ref="FILE13"/>
<logger name="org.nl.modules.quartz.task.QueryZDAgvTaskStatus" level="info" additivity="false">
<appender-ref ref="QueryZDAgvTaskStatus"/>
</logger>
</included>

2
acs/nladmin-system/src/main/resources/logback-spring.xml

@ -30,7 +30,7 @@ https://juejin.cn/post/6844903775631572999
<include resource="log/ZheDaAgv.xml"/>
<include resource="log/AcsToZDWms.xml"/>
<include resource="log/ZDToAcsWms.xml"/>
<include resource="log/TaskServiceImpl.xml"/>
<include resource="log/QueryZDAgvTaskStatus.xml"/>
<appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
<encoder>

Loading…
Cancel
Save