From 6b549bcfd90ff7164108528fe6ae00ee22c09e20 Mon Sep 17 00:00:00 2001
From: mrzhssss <pro6@qq.com>
Date: 星期日, 29 一月 2023 11:10:04 +0800
Subject: [PATCH] #

---
 version/BarcodeThread1.java |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/version/BarcodeThread1.java b/version/BarcodeThread1.java
index 38ce936..32bb5bd 100644
--- a/version/BarcodeThread1.java
+++ b/version/BarcodeThread1.java
@@ -47,7 +47,7 @@
                     String s = new String(read);
                     if (!Cools.isEmpty(s)) {
                         barcode = new String(read);
-                        log.info("{}鍙锋潯鐮佸櫒锛屾绱㈡暟鎹細{}", slave.getId(), this.barcode);
+                        News.info("{}鍙锋潯鐮佸櫒锛屾绱㈡暟鎹細{}", slave.getId(), this.barcode);
                         JSONObject jsonObject = new JSONObject();
                         jsonObject.put("time", DateUtils.convert(new Date(), DateUtils.yyyyMMddHHmmss_F));
                         jsonObject.put("barcode", barcode);
@@ -75,10 +75,10 @@
             socket.connect(socketAddress, 1000); //鏌愪簺鏈嶅姟鍣╬ing寤惰繜楂樻椂瑕佸鍔�,鍚﹀垯浼氭姤閿檆onnect timeout
             dataOutputStream = new DataOutputStream(socket.getOutputStream());
             dataInputStream = new DataInputStream(socket.getInputStream());
-//            log.info("鏉$爜鎵弿浠繛鎺ユ垚鍔� ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
+//            News.info("鏉$爜鎵弿浠繛鎺ユ垚鍔� ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
         } catch (Exception e) {
             socket = null;
-            log.error("鏉$爜鎵弿浠繛鎺ュけ璐ワ紒锛侊紒 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
+            News.error("鏉$爜鎵弿浠繛鎺ュけ璐ワ紒锛侊紒 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
             return false;
         }
         return true;
@@ -101,7 +101,7 @@
             }
             socket = null;
         } catch (IOException e) {
-            log.error("SocketClient close Exception:" + e.getMessage());
+            News.error("SocketClient close Exception:" + e.getMessage());
         }
     }
 

--
Gitblit v1.9.1