Uncomment logging in EchoServer

This commit is contained in:
Trustin Lee 2012-05-12 08:31:55 +09:00
parent 7a5f4721b9
commit efe7fd9539

View File

@ -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) {