fix: 调整日志

dev
huangfeng 8 months ago
parent ecb2f242a3
commit 6211c75a93

@ -99,6 +99,7 @@ public class IecClient implements ClientEventListener {
clientAssociation.enableReporting(brcb);
}
}
log.info("61850订阅成功, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
}
public void disableReporting() {
@ -118,6 +119,7 @@ public class IecClient implements ClientEventListener {
} catch (Exception ignore) {
}
}
log.info("61850停止订阅, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
}
public List<FileInformation> listFile(String path) throws Exception {

@ -66,7 +66,6 @@ public class RealTimeDataService {
iecClient.keep = true;
iecClient.realTimeDataService = this;
iecClient.webSocketServer = webSocketServer;
log.info("61850订阅成功, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
ied.setStart(Constants.TRUE);
iedRepository.save(ied);
clientMap.put(ied.getId(), iecClient);
@ -87,7 +86,6 @@ public class RealTimeDataService {
IcdIed ied = optional.get();
ied.setStart(Constants.FALSE);
iedRepository.save(ied);
log.info("61850停止订阅, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
}
}

Loading…
Cancel
Save