refactor: 修改日志输出
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user