Commit 6db325c2 by guominglei

立即运行时修改日志输出方式

parent 7f2c988c
...@@ -106,7 +106,7 @@ public class ApiNodeServiceImpl implements ApiNodeService { ...@@ -106,7 +106,7 @@ public class ApiNodeServiceImpl implements ApiNodeService {
RunLog runLog = RunLog.builder().isEnd(false).runLog("等待服务器分配资源").build(); RunLog runLog = RunLog.builder().isEnd(false).runLog("等待服务器分配资源").build();
String runKey = "REAL:EXEC:" + logId; String runKey = "REAL:EXEC:" + logId;
stringRedisTemplate.convertAndSend(runKey, JSON.toJSONString(runLog, WriteClassName)); stringRedisTemplate.opsForList().rightPush(runKey, JSON.toJSONString(runLog, WriteClassName));
return runKey; return runKey;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment