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

This commit is contained in:
李广豪 2022-07-19 12:24:30 +08:00
джерело 5aa655b2b0
коміт 1f7332fdbb
2 змінених файлів з 5 додано та 2 видалено

@ -103,7 +103,9 @@ public class AsynRunTaskService extends BaseService {
runTaskServiceBiz.save(runTask);
//调用车辆填入起终点,得到车辆执行结果
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());
logger.info(String.valueOf(status));
//执行成功,托盘进炉

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