refactor: 修改日志输出

This commit is contained in:
2022-10-29 17:29:15 +08:00
parent f15455543e
commit 90e76efd8b
2 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,7 @@ public class BallChannelInitializer extends ChannelInitializer<NioSocketChannel>
@Override
protected void initChannel(@NotNull NioSocketChannel channel) {
LOGGER.info("远程地址 {} 请求建立连接...", channel.remoteAddress().toString());
LOGGER.info("远程地址 {} 请求建立连接.", channel.remoteAddress().toString());
String hostAddress = channel.remoteAddress().getAddress().getHostAddress();
if (ServerConfig.isEnableAcceptList() && !ServerConfig.getAcceptList().contains(hostAddress)) {