From 164bdd039c4f5c5fe0572b7f1f090b9346cd735f Mon Sep 17 00:00:00 2001
From: LSH
Date: 星期日, 29 一月 2023 13:23:06 +0800
Subject: [PATCH] #

---
 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