Browse Source

websocket日志增加

jingyuanchao 1 year ago
parent
commit
243c65aedd

+ 1 - 1
soc-modules/soc-modules-mediator/src/main/java/com/xunmei/mediator/api/video/service/impl/VideoIntegrityCheckServiceImpl.java

@@ -116,7 +116,7 @@ public class VideoIntegrityCheckServiceImpl extends ServiceImpl<VideoIntegrityCh
             object.put("index", iotDeviceInfo.getDeviceCode());
             object.put("recordDate", Arrays.asList(DateUtil.format(DateUtil.offsetDay(new Date(),-1), Constants.DAILY_FORMAT)));
             WebsocketResult websocketResult = IotServerUtils.invokeDownLinkServer(TopicTypeEnums.PRODUCT_SERVICE_INVOKE, iotDeviceInfo.getDeviceProduct(), iotDeviceInfo.getDeviceCode(), WebSocketConstants.GET_RECORD_INFOS_SERVICES, object);
-            log.info("调用录像机获取录像信息:{}", JacksonUtils.toJSONString(websocketResult));
+            LogUtils.WEBSOCKET_MSG.info("调用录像机获取录像信息:{}", JacksonUtils.toJSONString(websocketResult));
             WebSocketSessionHolder.sendAll(JacksonUtils.toJSONString(websocketResult));
         }