Uncomment logging in EchoServer
This commit is contained in:
parent
7a5f4721b9
commit
efe7fd9539
@ -72,7 +72,7 @@ public class EchoServer {
|
||||
break;
|
||||
}
|
||||
s.config().setTcpNoDelay(true);
|
||||
//s.pipeline().addLast("logger", new LoggingHandler(InternalLogLevel.INFO));
|
||||
s.pipeline().addLast("logger", new LoggingHandler(InternalLogLevel.INFO));
|
||||
s.pipeline().addLast("echoer", new ChannelInboundHandlerAdapter<Byte>() {
|
||||
@Override
|
||||
public ChannelBufferHolder<Byte> newInboundBuffer(ChannelInboundHandlerContext<Byte> ctx) {
|
||||
|
Loading…
Reference in New Issue
Block a user