From 591735554fc359c5988e00732ef9067d79157007 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期六, 30 八月 2025 12:19:29 +0800
Subject: [PATCH] 1
---
src/main/java/com/zy/core/netty/OnlineServer.java | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/zy/core/netty/OnlineServer.java b/src/main/java/com/zy/core/netty/OnlineServer.java
index f6e68ec..b81091f 100644
--- a/src/main/java/com/zy/core/netty/OnlineServer.java
+++ b/src/main/java/com/zy/core/netty/OnlineServer.java
@@ -1,6 +1,7 @@
package com.zy.core.netty;
+import com.zy.common.utils.News;
import com.zy.core.netty.properties.TcpProperties;
import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.PooledByteBufAllocator;
@@ -66,7 +67,7 @@
ResourceLeakDetector.setLevel(ResourceLeakDetector.Level.ADVANCED);
- log.info("TCP server started successfully, port锛歿}", tcpProperties.getPort());
+ News.info("TCP server started successfully, port锛歿}", tcpProperties.getPort());
channel = bootstrap.bind(tcpProperties.getPort()).sync().channel();
}
@@ -86,7 +87,7 @@
if (workerGroup != null) {
workerGroup.shutdownGracefully();
}
- log.info("TCP server stopped successfully, port: {}", tcpProperties.getPort());
+ News.info("TCP server stopped successfully, port: {}", tcpProperties.getPort());
}
}
--
Gitblit v1.9.1