From a7ce8dc4c5ff91f71848ae649185fb0551a5d3ea Mon Sep 17 00:00:00 2001
From: dubin <bindu_bean@163.com>
Date: 星期三, 15 十月 2025 19:40:50 +0800
Subject: [PATCH] 联调
---
src/main/java/com/zy/core/thread/ScaleThread.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/core/thread/ScaleThread.java b/src/main/java/com/zy/core/thread/ScaleThread.java
index c5a2d4b..ad595c8 100644
--- a/src/main/java/com/zy/core/thread/ScaleThread.java
+++ b/src/main/java/com/zy/core/thread/ScaleThread.java
@@ -1,6 +1,7 @@
package com.zy.core.thread;
import com.core.common.Cools;
+import com.zy.common.utils.News;
import com.zy.core.Slave;
import com.zy.core.ThreadHandler;
import lombok.Data;
@@ -66,7 +67,7 @@
// log.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("Scale"+" - 1"+" - 鏉$爜鎵弿浠繛鎺ュけ璐ワ紒锛侊紒 ===>> [id:{}] [ip:{}] [port:{}]", slave.getId(), slave.getIp(), slave.getPort());
return false;
}
return true;
@@ -89,7 +90,7 @@
}
socket = null;
} catch (IOException e) {
- log.error("SocketClient close Exception:" + e.getMessage());
+ News.error("Scale"+" - 2"+" - SocketClient close Exception:" + e.getMessage());
}
}
--
Gitblit v1.9.1