From 1e0bb3906e855ca97e0bb1c3c3ac8a1904fb20e9 Mon Sep 17 00:00:00 2001
From: DELL <1525436766@qq.com>
Date: 星期三, 24 四月 2024 13:34:32 +0800
Subject: [PATCH] 修改日志打印级别,打印连接成功日志

---
 IEC61850_ForPowerSupply_ForNW/src/com/power/comm/Power_61850_SocketClient.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/IEC61850_ForPowerSupply_ForNW/src/com/power/comm/Power_61850_SocketClient.java b/IEC61850_ForPowerSupply_ForNW/src/com/power/comm/Power_61850_SocketClient.java
index 028be7a..75b3c5c 100644
--- a/IEC61850_ForPowerSupply_ForNW/src/com/power/comm/Power_61850_SocketClient.java
+++ b/IEC61850_ForPowerSupply_ForNW/src/com/power/comm/Power_61850_SocketClient.java
@@ -136,7 +136,6 @@
 				continue;
 			}
 			
-			logger.debug("Successfully connected to ied server " + pwrDev_rtData.PowerDevDeviceIp + " " + pwrDev_rtData.PowerDevProtocolName);
 			logger.debug("IP:" + pwrDev_rtData.PowerDevDeviceIp + " - PowerDev_IEC61850_Client retrieving model...");
 			
 			//------------------------------------------------------------
@@ -151,6 +150,7 @@
 				logger.error(e.toString(), e);
 				continue;
 			}
+			logger.info("Successfully connected to ied server " + pwrDev_rtData.PowerDevDeviceIp + " " + pwrDev_rtData.PowerDevProtocolName);
             /******/
             
 			resetErrCommCount("Start....");

--
Gitblit v1.9.1