Skip to content

Commit

Permalink
Merge pull request apache#1717, NettyHelper in netty extension popula…
Browse files Browse the repository at this point in the history
…ted Logger "InternalLogger" in netty.
  • Loading branch information
beiwei30 authored and chickenlj committed May 3, 2018
1 parent 2a52a91 commit 299f78a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 273 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import com.alibaba.dubbo.remoting.ChannelHandler;
import com.alibaba.dubbo.remoting.RemotingException;
import com.alibaba.dubbo.remoting.transport.AbstractClient;
import com.alibaba.dubbo.remoting.transport.netty4.logging.NettyHelper;

import io.netty.bootstrap.Bootstrap;
import io.netty.buffer.PooledByteBufAllocator;
Expand Down Expand Up @@ -58,7 +57,6 @@ public NettyClient(final URL url, final ChannelHandler handler) throws RemotingE

@Override
protected void doOpen() throws Throwable {
NettyHelper.setNettyLoggerFactory();
final NettyClientHandler nettyClientHandler = new NettyClientHandler(getUrl(), this);
bootstrap = new Bootstrap();
bootstrap.group(nioEventLoopGroup)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.alibaba.dubbo.remoting.Server;
import com.alibaba.dubbo.remoting.transport.AbstractServer;
import com.alibaba.dubbo.remoting.transport.dispatcher.ChannelHandlers;
import com.alibaba.dubbo.remoting.transport.netty4.logging.NettyHelper;

import io.netty.bootstrap.ServerBootstrap;
import io.netty.buffer.PooledByteBufAllocator;
Expand Down Expand Up @@ -68,8 +67,6 @@ public NettyServer(URL url, ChannelHandler handler) throws RemotingException {

@Override
protected void doOpen() throws Throwable {
NettyHelper.setNettyLoggerFactory();

bootstrap = new ServerBootstrap();

bossGroup = new NioEventLoopGroup(1, new DefaultThreadFactory("NettyServerBoss", true));
Expand Down

This file was deleted.

0 comments on commit 299f78a

Please sign in to comment.