logger打印信息修改,不打印用户信息

This commit is contained in:
李广豪 2022-07-19 12:24:30 +08:00
parent 5aa655b2b0
commit 1f7332fdbb
2 changed files with 5 additions and 2 deletions

View File

@ -103,7 +103,9 @@ public class AsynRunTaskService extends BaseService {
runTaskServiceBiz.save(runTask); runTaskServiceBiz.save(runTask);
//调用车辆填入起终点,得到车辆执行结果 //调用车辆填入起终点,得到车辆执行结果
Long startPoint = pointInfoServiceBiz.getOne(new QueryWrapper<PointInfo>().eq(PointInfo.NOTE, runTask.getStartPosition())).getCode(); Long startPoint = pointInfoServiceBiz.getOne(new QueryWrapper<PointInfo>().eq(PointInfo.NOTE, runTask.getStartPosition())).getCode();
Long endPoint = pointInfoServiceBiz.getOne(new QueryWrapper<PointInfo>().eq(PointInfo.NOTE, runTask.getEndPosition())).getCode(); PointInfo pointInfo = pointInfoServiceBiz.getOne(new QueryWrapper<PointInfo>().eq(PointInfo.NOTE, runTask.getEndPosition()));
Long endPoint = pointInfo.getCode();
logger.info("加工炉: "+pointInfo.getName()+"可用未满,调用车辆: "+vehicleId+" 起点为提升台终点为工业炉");
Integer status = sendTaskToRgv(vehicleId, currTaskId, startPoint, endPoint, currTask.getPlcValue()); Integer status = sendTaskToRgv(vehicleId, currTaskId, startPoint, endPoint, currTask.getPlcValue());
logger.info(String.valueOf(status)); logger.info(String.valueOf(status));
//执行成功,托盘进炉 //执行成功,托盘进炉

View File

@ -107,7 +107,8 @@ public class GatewayFilter implements Filter {
if (r != null && r.ok()) { if (r != null && r.ok()) {
if (r.getData() != null) { if (r.getData() != null) {
log.info("loginUser={}", JSON.toJSONString(r.getData())); //不打印
//log.info("loginUser={}", JSON.toJSONString(r.getData()));
} }
chain.doFilter(request, response); chain.doFilter(request, response);
} else { } else {