File tree 1 file changed +3
-2
lines changed
client/src/main/java/org/asynchttpclient/netty/channel 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 31
31
import io .netty .handler .codec .http .websocketx .WebSocket08FrameDecoder ;
32
32
import io .netty .handler .codec .http .websocketx .WebSocket08FrameEncoder ;
33
33
import io .netty .handler .codec .http .websocketx .WebSocketFrameAggregator ;
34
+ import io .netty .handler .logging .LogLevel ;
34
35
import io .netty .handler .logging .LoggingHandler ;
35
36
import io .netty .handler .ssl .SslHandler ;
36
37
import io .netty .handler .stream .ChunkedWriteHandler ;
@@ -249,7 +250,7 @@ public void configureBootstraps(NettyRequestSender requestSender) {
249
250
250
251
final NoopHandler pinnedEntry = new NoopHandler ();
251
252
252
- final LoggingHandler loggingHandler = new LoggingHandler ();
253
+ final LoggingHandler loggingHandler = new LoggingHandler (LogLevel . TRACE );
253
254
254
255
httpBootstrap .handler (new ChannelInitializer <Channel >() {
255
256
@ Override
@@ -261,7 +262,7 @@ protected void initChannel(Channel ch) throws Exception {
261
262
.addLast (CHUNKED_WRITER_HANDLER , new ChunkedWriteHandler ())//
262
263
.addLast (AHC_HTTP_HANDLER , httpHandler );
263
264
264
- if (LOGGER .isDebugEnabled ()) {
265
+ if (LOGGER .isTraceEnabled ()) {
265
266
pipeline .addAfter (PINNED_ENTRY , LOGGING_HANDLER , loggingHandler );
266
267
}
267
268
You can’t perform that action at this time.
0 commit comments