From a0a1b5499e458c7b0a2a091608718df9aef448c7 Mon Sep 17 00:00:00 2001
From: ‘liusuyi’ <1951119284@qq.com>
Date: 星期四, 10 八月 2023 10:20:44 +0800
Subject: [PATCH] 优化日志

---
 src/main/java/com/ard/utils/udp/NettyUdpServer.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/ard/utils/udp/NettyUdpServer.java b/src/main/java/com/ard/utils/udp/NettyUdpServer.java
index caa5a8e..0891737 100644
--- a/src/main/java/com/ard/utils/udp/NettyUdpServer.java
+++ b/src/main/java/com/ard/utils/udp/NettyUdpServer.java
@@ -35,13 +35,13 @@
             serverBootstrap = serverBootstrap.handler(new NettyUdpHandler());
             //6銆佺粦瀹歴erver锛岄�氳繃璋冪敤sync锛堬級鏂规硶寮傛闃诲锛岀洿鍒扮粦瀹氭垚鍔�
             ChannelFuture channelFuture = serverBootstrap.bind(port).sync();
-            log.info("started and listened on " + channelFuture.channel().localAddress());
+            log.debug("started and listened on " + channelFuture.channel().localAddress());
             //7銆佺洃鍚�氶亾鍏抽棴浜嬩欢锛屽簲鐢ㄧ▼搴忎細涓�鐩寸瓑寰咃紝鐩村埌channel鍏抽棴
             channelFuture.channel().closeFuture().sync();
         } catch (Exception e) {
             log.error("error:" + e.getMessage());
         } finally {
-            log.info("netty udp close!");
+            log.debug("netty udp close!");
             //8 鍏抽棴EventLoopGroup锛�
             bossLoopGroup.shutdownGracefully();
         }

--
Gitblit v1.9.3