From d93d4671c0a7bbacfe1479db78ea8c8b3e8b1d19 Mon Sep 17 00:00:00 2001 From: Eason <291028775@qq.com> Date: Wed, 17 May 2023 10:23:48 +0800 Subject: [PATCH] Update LogUtil.java Signed-off-by: Eason <291028775@qq.com> --- src/main/java/org/cloud/sonic/agent/tests/LogUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/cloud/sonic/agent/tests/LogUtil.java b/src/main/java/org/cloud/sonic/agent/tests/LogUtil.java index af89c570..5a6f6ac6 100755 --- a/src/main/java/org/cloud/sonic/agent/tests/LogUtil.java +++ b/src/main/java/org/cloud/sonic/agent/tests/LogUtil.java @@ -55,13 +55,13 @@ public void send(JSONObject message) { message.put("cid", caseId); message.put("rid", resultId); message.put("udId", udId); + logger.info(message.toJSONString()); if (type.equals(DeviceStatus.DEBUGGING)) { sendToWebSocket(WebSocketSessionMap.getSession(sessionId), message); } if (type.equals(DeviceStatus.TESTING)) { sendToServer(message); } - logger.info(message.toJSONString()); } /** @@ -231,4 +231,4 @@ public void androidInfo(String platform, String version, String udId, String man + "
设备分辨率:" + size ); } -} \ No newline at end of file +}