diff --git a/example/src/main/java/io/netty/example/proxy/HexDumpProxyInitializer.java b/example/src/main/java/io/netty/example/proxy/HexDumpProxyInitializer.java index 0abbb3dcc9..7005c73828 100644 --- a/example/src/main/java/io/netty/example/proxy/HexDumpProxyInitializer.java +++ b/example/src/main/java/io/netty/example/proxy/HexDumpProxyInitializer.java @@ -17,8 +17,8 @@ package io.netty.example.proxy; import io.netty.channel.ChannelInitializer; import io.netty.channel.socket.SocketChannel; -import io.netty.handler.logging.ByteLoggingHandler; import io.netty.handler.logging.LogLevel; +import io.netty.handler.logging.LoggingHandler; public class HexDumpProxyInitializer extends ChannelInitializer { @@ -33,7 +33,7 @@ public class HexDumpProxyInitializer extends ChannelInitializer { @Override public void initChannel(SocketChannel ch) throws Exception { ch.pipeline().addLast( - new ByteLoggingHandler(LogLevel.INFO), + new LoggingHandler(LogLevel.INFO), new HexDumpProxyFrontendHandler(remoteHost, remotePort)); } }