Commit e855c72c authored by duanruiming's avatar duanruiming

[update] 打印测试日志

parent 14a0e559
...@@ -45,6 +45,7 @@ public class CommonEventWarnTask { ...@@ -45,6 +45,7 @@ public class CommonEventWarnTask {
public void pushEvenWarnData() { public void pushEvenWarnData() {
try { try {
Set<WebSocketServer> events = WebSocketServer.getWebSocketSet(Constant.WEBSOCKET_TOPIC_EVENT_WARN); Set<WebSocketServer> events = WebSocketServer.getWebSocketSet(Constant.WEBSOCKET_TOPIC_EVENT_WARN);
log.info("告警socket连接数量:{},告警信息:{}", events.size(), events);
if (!CollectionUtils.isEmpty(events)) { if (!CollectionUtils.isEmpty(events)) {
for (WebSocketServer entry : events) { for (WebSocketServer entry : events) {
String userId = entry.getUserId(); String userId = entry.getUserId();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment